DALARAN posted on September 22, 2008 11:20::6099 view(s)
Trong quá trình cài đặt và sử dụng site, mình đã gặp một số vấn đề sau:
-Nếu đăng kí 1 account mới với email là abc@mydomain.com (ở đây là abc@nguyenminhduc.net) thì sẽ nhận được email thông báo sau khi đăng kí thành công. Tuy nhiên nếu đăng kí với email abc@yahoo.com/gmail.com... thì lại không nhận được thông tin gì cả.
Vào Event Viewer thì sẽ thấy được thông báo sau:
System.Net.Mail.SmtpException: Bad sequence of commands. The server response was: This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server. at System.Net.Mail.RecipientCommand.CheckResponse(SmtpStatusCode statusCode, String response) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL)
Mất cả buổi lần mò, tìm kiếm, mình đã tìm được cách từ link sau:
_http://www.orizonti.com/Support/Forums/tabid/785/forumid/9/postid/1476/view/topic/Default.aspx
Cách giải quyết:
Đăng nhập với quyền host, vào Host->Host settings->SMTP settings, thiết lập như sau:
SMTP Server = 127.0.0.1
Authentication = Anonymous
SMTP Username = blank as in no value (để trống)
SMTP Password = blank as in no value (để trống)
[Read the rest of this article...]