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: info@mydomain.es
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!!