I am looking a two servers. Both configured the same, as far as I can see.
Server One: DNN 9.10.2
ServerTwo: DNN 9.13.2
Server One has no problems.
Server Two fails to send test email:
AbsoluteURL:/API/PersonaBar/ServerSettingsSmtpHost/SendTestEmail
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:468312ed-f01f-4d85-a3d7-f60bf04c9242
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:UPlHF73t/GGpNtFq7LermfBUt9Y=
Message:Unable to read data from the transport connection: net_io_connectionclosed.
StackTrace:
at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String& response) at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message)
Using a Powershell script I can send email, from Server Two, using the same SMTP server and credentials.
Any suggestions appreciated.
Regards,
Declan Ward
To be more specific, OAuth is not involved. This is to an SMTP server at blacknight.com. Basic authentication using a username and password.
Outlook can send and receive on the same account and, as I said above, a Powershell script can also send mail to the SMTP server from the problematic server, Server Two.
So. it was only an issue when using a portal-specific setting? This sounds like a bug. What if you switched back to the portal setting? Does it still not work correctly?
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.