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 Configuration with DNN9 and Office365SMTP Configuration with DNN9 and Office365
Previous
 
Next
New Post
8/24/2017 12:50 PM
 

Hi!
Recently, we have upgrade our website (DNN7 to DNN9). Because we are using TLS in our email server.

We have configurated SMTP Server in DNN with same account to Global and for one portal:

SMTP: smtp.office365.com

SMTP Authentication: Basic

SMTP Username: [email protected]

SMTP Password: XXXXXXXXX

SMTP Enable SSL: True/Active

If we press “Test SMTP Settings” button, this work fine and we receive email. But we have a problem when we want “Send Password Reset Link”  for a user. Then, we can see in log this error:

=========================================================

AbsoluteURL:/API/PersonaBar/Users/SendPasswordResetLink

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:6ffba3c5-ce9b-4b99-9d39-f0937961b82d

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:3W6OmcDMOsEzZD44dYtUskUKJQY=

Message:El buzón de correo no está disponible. La respuesta del servidor fue: 5.7.60 SMTP; Client does not have permissions to send as this sender [HE1PR07MB1114.eurprd07.prod.outlook.com]

StackTrace:

 

   en System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode

statusCode, String serverResponse)

   en System.Net.Mail.DataStopCommand.Send(SmtpConnection conn)

   en System.Net.ClosableStream.Close()

   en System.Net.Mail.SmtpClient.Send(MailMessage message)

   en 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)

InnerMessage:

InnerStackTrace:

Source:System

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: WIN-VMSLHKEU1K4

 

We do not understand how we can send test email but not send reset link. Maybe is important that Host email is like user SMTP but not in Admin Portal Email. We have try use the same, but not work…maybe is cached. Do you know a solution? Thanks!!


 
New Post
8/25/2017 6:27 AM
Accepted Answer 
Rodrigo,

for the case it is cached you could try to restart the app pool (in the Tools menu when you're logged in as host user).

Otherwise: If you have SMTP settings in the Server settings you don't need to have some in the portal settings as well (at least as long as they are not different). Just try to leave the last one empty and choose the System SMTP.

This could also be a relaying problem. Please read:https://technet.microsoft.com/en-us/l...

Happy DNNing!
Michael



Michael Tobisch
DNN★MVP
helferlein.com - Michael Tobisch's Site about DNN, SQL Server, ASP.Net and other related stuff dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
9/1/2017 8:24 AM
 
Thanks!! I think it was cached. Now it works
 
New Post
9/5/2017 7:07 AM
 
Rodrigo,

you're welcome. Glad I could help you.

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP
helferlein.com - Michael Tobisch's Site about DNN, SQL Server, ASP.Net and other related stuff dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
9/5/2017 7:07 AM
 
Rodrigo,

you're welcome. Glad I could help you.

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP
helferlein.com - Michael Tobisch's Site about DNN, SQL Server, ASP.Net and other related stuff dnn-Connect.org - The most vibrant community around the DNN-platform
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SMTP Configuration with DNN9 and Office365SMTP Configuration with DNN9 and Office365


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


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