Description:Automation Services throws an error when sending e-mail.
Error: "Failure sending mail. Unable to read data from the transport connection: net_io_connectionclosed".
Symptoms:Spotfire.Dxp.Automation.log error entry:
---------------------------------------------------------------------------------
The task 'Send Email' could not be executed.
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.SmtpConnection.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
--- End of inner exception stack trace ---
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at Spotfire.Dxp.Automation.Tasks.SendEmail.SendTheMail(TaskExecutionContext context, String smtpHost, String fromAddress, String messageBody, AttachmentsInfo attachmentsInfo)
Done
------------------------------
Cause:This error message indicates an issue connecting to the SMTP server.