【问题标题】:how to Send Bulk Mail using Amazon webservices? [closed]如何使用亚马逊网络服务发送批量邮件? [关闭]
【发布时间】:2012-10-09 12:28:30
【问题描述】:

我正在尝试使用 Amazon SES Web 服务发送群发邮件。但是,我在 .NET 中没有得到这样的参考。谁能帮帮我?

【问题讨论】:

标签: c# asp.net vb.net


【解决方案1】:
AmazonSimpleEmailServiceConfig amConfig = new AmazonSimpleEmailServiceConfig();
amConfig.UseSecureStringForAwsSecretKey = false;
AmazonSimpleEmailServiceClient amzClient = new    
    AmazonSimpleEmailServiceClient(ConfigurationManager.AppSettings["AKID"].ToString(),     
    ConfigurationManager.AppSettings["Secret"].ToString(), amConfig);

【讨论】:

    【解决方案2】:
    SendEmailRequest ser = new SendEmailRequest("VERIFIED_EMAIL_HERE", dest, message);
    SendEmailResponse seResponse = amzClient.SendEmail(ser);
    SendEmailResult seResult = seResponse.SendEmailResult;
    

    (包含的文本是为了满足 SO 的最低非空间要求)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-04-05
      • 2010-12-29
      • 2014-01-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多