Amazon ses 为什么不能在windows 2003发送
我在window7上做的没问题,可以发送,一样的代码在windows 2003确不可以
var smtpClient = new System.Net.Mail.SmtpClient("email-smtp.us-east-1.amazonaws.com", 25);
smtpClient.EnableSsl = true;
smtpClient.UseDefaultCredentials = true;//是否身份验证
smtpClient.Credentials = new System.Net.NetworkCredential("用户名", "密码");
string to = "469866137@qq.com";
string from = "359621598@qq.com";
MailMessage message = new MailMessage(from, to);
message.Subject = "liao huo lin Sample email using SMTP Inte易做图ce";
message.Body = @"Sample email.";
smtpClient.Send(message);
Response.Write("成功");
补充:.NET技术 , ASP.NET