我正在尝试使用Amazon SES网络服务发送群发邮件。但是,我没有在.NET中获得这样的引用。任何人都可以帮助我吗?
答案 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的最小非空间要求)