我在这里下载了一个发送电子邮件 Silverlight 应用程序的示例应用程序。
通过 gmail。但我不能让它工作。它的错误是“发送邮件失败”。
{“发送邮件失败。”} [System.Net.Mail.SmtpException]:{“发送邮件失败。”}数据:{System.Collections.ListDictionaryInternal} HelpLink:null InnerException:{“无法连接到远程服务器” } 消息:“发送邮件失败。” 来源: "System" StackTrace: " at System.Net.Mail.SmtpClient.Send(MailMessage message)\r\n at SLSentEmail.Web.Services.EmailService.SendEmail(SLEmailMessage emailMessage) in C:\Downloads\Temp\SLSentEmail\ SLSentEmail\SLSentEmail.Web\Services\EmailService.svc.cs:line 27" TargetSite: {无效发送(System.Net.Mail.MailMessage)}