如何使用亚马逊网络服务发送批量邮件?

时间:2012-10-09 12:28:31

标签: c# asp.net vb.net

我正在尝试使用Amazon SES网络服务发送群发邮件。但是,我没有在.NET中获得这样的引用。任何人都可以帮助我吗?

2 个答案:

答案 0 :(得分:0)

AmazonSimpleEmailServiceConfig amConfig = new AmazonSimpleEmailServiceConfig();
amConfig.UseSecureStringForAwsSecretKey = false;
AmazonSimpleEmailServiceClient amzClient = new    
    AmazonSimpleEmailServiceClient(ConfigurationManager.AppSettings["AKID"].ToString(),     
    ConfigurationManager.AppSettings["Secret"].ToString(), amConfig);

答案 1 :(得分:0)

SendEmailRequest ser = new SendEmailRequest("VERIFIED_EMAIL_HERE", dest, message);
SendEmailResponse seResponse = amzClient.SendEmail(ser);
SendEmailResult seResult = seResponse.SendEmailResult;

(包含的文字超过了SO的最小非空间要求)