我已经下载了一个示例应用程序发送电子邮件silverlight应用程序在这里。SMTP错误:失败发送电子邮件
via gmail。但我不能让它工作。它的错误是“发送邮件失败。”
{"Failure sending mail."} [System.Net.Mail.SmtpException]: {"Failure sending mail."} Data: {System.Collections.ListDictionaryInternal} HelpLink: null InnerException: {"Unable to connect to the remote server"} Message: "Failure sending mail." Source: "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: {Void Send(System.Net.Mail.MailMessage)}