Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SMTP works for host but not for portalSMTP works for host but not for portal
Previous
 
Next
New Post
1/5/2011 6:32 AM
 
Hi,

I am using DNN 5.6.0 (community edition) and have an installation with only one portal. I configuered the SMTP settings in host portal as follows:

Server: (my SMTP server address)
Authentication: Standard
SSL: no
Username/Password: (my credentials)

When I click on the link "Test" in the host settings to send a test mail everything works fine.

But when I do something in my portal, for example registering a new user, I get the following error message in the log viewer of my portal:

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: d662a120-c716-488d-ab5a-1c34739a6b40
InnerException: Falsche Befehlsfolge. Die Serverantwort war: 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.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Net.Mail.RecipientCommand.CheckResponse
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Falsche Befehlsfolge. Die Serverantwort war: 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. ---> System.Net.Mail.SmtpException: Falsche Befehlsfolge. Die Serverantwort war: 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. bei System.Net.Mail.RecipientCommand.CheckResponse(SmtpStatusCode statusCode, String response) bei System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) bei System.Net.Mail.SmtpClient.Send(MailMessage message) bei DotNetNuke.Services.Mail.Mail.SendEmail(String fromAddress, String senderAddress, String toAddress, String subject, String body) bei DotNetNuke.Services.Mail.Mail.SendMail(UserInfo user, MessageType msgType, PortalSettings settings) bei DotNetNuke.Entities.Modules.UserModuleBase.CompleteUserCreation(UserCreateStatus createStatus, UserInfo newUser, Boolean notify, Boolean register) bei DotNetNuke.Modules.Admin.Users.ManageUsers.UserCreateCompleted(Object sender, UserCreatedEventArgs e) --- Ende der internen Ausnahmestapelüberwachung ---

I don't know the exact words of the english exception message. "Falsche Befehlsfolge" would mean something like "wrong order of commands".

If it never worked, there could be a problem using that mailserver, but why does it work when using "Test", but not when using portal mails.

When I do a "Test" in host settings after having tried to register a new user, I get both mails, the "new user" and the "test".

Had anyone of you the same problem? How can I solve it?

Thanks in anticipation for any help or hint!

--
Greetings from Germany

Martin
 
New Post
1/5/2011 4:06 PM
 
Hi
You receive the test email because the email is sent from the same email address as the recipient so there is no need for authentication, the issues you are experiencing are all to do with incorrect smtp settings. There is a good podcast by Lee Sykes and David Finley, which I think could help,  you can find it here - http://bit.ly/coYaUN
 
New Post
1/6/2011 11:40 AM
 
Hi, Matt,

thank you very much for your reply! The podcast helped much in understanding DNN mail configuration.

But I found the solution myself: The problem was, that I had no real mail account in my domain, all mail addresses were only forwards to another address. Now I created a real mail account and used the login for that account in my DNN SMTP settings. Otherwise only mails from *@mydomain.de to *@mydomain.de could be sent.

Thanks again for your help!
--
Greetings from Germany

Martin
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SMTP works for host but not for portalSMTP works for host but not for portal


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out