Trang chủ » Diễn Đàn » Lập trình và Phát triển Web » Microsoft .NET » Không gửi được email trên yetanotherforum
Chủ đề đã bị khóa, bạn không thể xóa, sửa hay trả lời trong chủ đề này!
|
|
|---|
|
0
Mình mới xây dựng 1 forum dựa trên yetanotherforum. Email settings là:
<smtp deliveryMethod="Network" from="admin@abc.vn"> <network host="mail.abc.vn" port="25" password="nnn" userName="admin@abc.vn" /> </smtp> Nếu dùng account admin (email là admin@abc.vn) gửi cho thằng member khác thì ok. Nhưng dùng account member gửi cho admin/bất cứ thằng nào khác thì đều bị báo lỗi. System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: <ppp@gmail.com>, Authentication does not match this account at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response) at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) at YAF.Core.MailMessageExtensions.Send(MailMessage message) at YAF.Core.Services.YafSendMail.<SendAll>b__0(MailMessage m) at System.Collections.Generic.List`1.ForEach(Action`1 action) at YAF.Core.Services.YafSendMail.SendAll(IEnumerable`1 messages) at YAF.Core.ISendMailExtensions.Send(ISendMail sendMail, MailAddress fromAddress, MailAddress toAddress, String subject, String bodyText, String bodyHtml) at YAF.Core.ISendMailExtensions.Send(ISendMail sendMail, MailAddress fromAddress, MailAddress toAddress, String subject, String bodyText) at YAF.Pages.im_email.Send_Click(Object sender, EventArgs e) Ai biết lỗi này xin vui lòng chỉ giúp với.
-----
http://www.nguyenminhduc.net: Site ca nhan va chia se ve Dotnetnuke |
