Send Test Email Fails with 500 Error in Admin Console
Issue
When attempting to test email send in Admin console, a transport connection error is logged in the WcfDataService log file.
Cause
Unsupported TLS level.
Solution
TLS 1.2 support is provided with Insight v6.4 with Fix Pack 2 and newer. Upgrade to at least v6.4 and apply Fix Pack 2 or newer.
Complete text of error message in wcfDataService log:
Send test email failed.AltoSoft.Insight.DataDefs.Notifications.EMailDeliveryException: The connection to the SMTP server failed. ---> System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.
ERROR AltoSoft.Insight.DataDefs.BaseEMailNotificationManager - Email delivering failed
System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.
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)
--- End of inner exception stack trace ---
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at AltoSoft.Insight.DataDefs.BaseEMailNotificationManager.SendEMail(ICollection`1 aEmailAdresses, String aSubject, String aBody, List`1 attachments, Boolean isBodyHtml, Boolean useBlindCarbonCopy)
Level of Complexity
Easy
Applies to
Product | Version | Build | Environment | Hardware |
---|---|---|---|---|
Insight | 6.x |
References
Add any references to other internal or external articles
Article # 3049140