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 ...Problem with SMTP configurationProblem with SMTP configuration
Previous
 
Next
New Post
12/9/2016 2:43 AM
 

Hi,

I need to configurate SMTP Server to send reset password email.

I try this configuration but I've got error:

  • Host -> Settings Host -> Base Settings -> Host Details -> E-mail Host : I put in this textbox the email address to sent reset password email. Email has this form: [email protected]
  • Host -> Settings Host -> Advance Settings -> Settings SMTP Server
    • Server SMTP e porta: smpt.office365.com:587
    • Limit Connections: 1
    • Max Idle Time: 0
    • SMPT Authentication: BASE
    • SMTP SLL: checked
    • Username SMTP: [email protected]
    • Password: my password
  • Admin -> Settings Site -> Advance Settings -> Settings SMTP Server -> SMTP Mode: Host

Now, when I try this settings I've got this error: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM

with this StackTrace:

in System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
   in System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)
   in System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
   in System.Net.Mail.SmtpClient.Send(MailMessage message)
   in DotNetNuke.Services.Mail.Mail.SendMailInternal(MailMessage mailMessage, String subject, String body, MailPriority priority, MailFormat bodyFormat, Encoding bodyEncoding, IEnumerable`1 attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL)

What is my mistake?

Thank you for your support,

progmr

PS: I try SMTP with my hotmail.it (STMP Server: smtp-email.outlook.com:587) email address and it's work fine

 
New Post
12/9/2016 10:36 AM
 
Have you set the email for your host user's profile?
 
New Post
12/9/2016 10:50 AM
 
The fact that this works with one SMTP configuration shows that the basic stuff if working.

The error message that you received says "Client was not authenticated to send anonymous mail during MAIL FROM" so I would start with that. If you have access to the SMTP server logs, you might be able to see moe detail on the error.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
12/9/2016 11:14 AM
 

Hi DNNMonster,

I set an email address in this section Host -> Settings Host -> Base Settings -> Host Details -> E-mail Host (and this email is the same that I use to login into SMTP server).

DNNMonster wrote:
Have you set the email for your host user's profile?

Yes, I've got!

 
New Post
12/9/2016 11:23 AM
 
Joseph Craig wrote:
The fact that this works with one SMTP configuration shows that the basic stuff if working.

The error message that you received says "Client was not authenticated to send anonymous mail during MAIL FROM" so I would start with that. If you have access to the SMTP server logs, you might be able to see moe detail on the error.

Hi Joseph, sorry but I can not access at SMTP serves

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Problem with SMTP configurationProblem with SMTP configuration


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.

Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out