我正在使用亚马逊 .net SDK。我知道用模拟器邮箱发送邮件。但是不明白在哪里使用模拟器邮件,TO,FROM字段中的客户邮件。
例如:我有CustomerMail
,,包括bounce@simulator.amazonses.com MyVerifiedMail
、SimulatorMails
success@simulator.amazonses.com、ooto@simulator.amazonses.com 等...
我的代码在这里
SendEmailRequest req = new SendEmailRequest()
.WithDestination(new Destination() { ToAddresses = { CustomerMail } })
.WithSource(VerifiedMail)
.WithReturnPath(VerifiedMail)
.WithMessage(
new Amazon.SimpleEmail.Model.Message(new Content("Title"),
new Body().WithHtml(new Content("Body"));
WithDestination:
客户邮件、WithSource:
验证邮件、WithReturnPath:
模拟器邮件?
或者
WithDestination:
SimulatorMail、WithSource:
CustomerMail、WithReturnPath:
VerifiedMail?
请告诉我如何使用模拟器?