Re: How to setup Gmail SMTP server in DotNetNuke - Video #159
Hello,
Did as you described. But when user tries to register no verification mail sent. But I see the following error in the log:
ModuleId: -1
ModuleDefId: -1
FriendlyName: Benutzerregistrierung
ModuleControlSource: DesktopModules/Admin/Security/ManageUsers.ascx
AssemblyVersion: 5.5.1
PortalID: 3
PortalName: General Positioning & Tracking Service
UserID: -1
UserName:
ActiveTabID: 121
ActiveTabName: Home
RawURL: /register.aspx?returnurl=http%3a%2f%2fwww.gpts.de%2fhome.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: gpts.de/register.aspx?returnurl=http%3a%2f%2fwww.gpts.de%2fhome.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; InfoPath.2; .NET4.0C; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 21d152b4-4f2e-4c6f-a290-fb6f2a63e023
InnerException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Net.Mail.MailCommand.CheckResponse
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at ---> System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at at System.Net.Mail.MailCommand.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.SendEmail(String fromAddress, String senderAddress, String toAddress, String subject, String body) at DotNetNuke.Services.Mail.Mail.SendMail(UserInfo user, MessageType msgType, PortalSettings settings) at DotNetNuke.Entities.Modules.UserModuleBase.CompleteUserCreation(UserCreateStatus createStatus, UserInfo newUser, Boolean notify, Boolean register) at DotNetNuke.Modules.Admin.Users.ManageUsers.UserCreateCompleted(Object sender, UserCreatedEventArgs e) --- End of inner exception stack trace ---
Source:
By Anatoly on
Monday, February 28, 2011