Error: "System.Net.Mail.SmtpException: Error in processing. The server response was: 5.7.3 STARTTLS is required to send mail"
book
Article ID: KB0070154
calendar_today
Updated On:
Products
Versions
Spotfire Automation Services
All supported versions
Description
Description:
While executing a Spotfire Automation Services job, you may run into the following error:
The task 'Send Email' could not be executed. Failed to send email using SMTP server 'smtp.office365.com' from '<email address>' to '<email address>'.
Reason: System.Net.Mail.SmtpException: Error in processing. The server response was: 5.7.3 STARTTLS is required to send mail.
Issue/Introduction
This article discusses the following error, and suggests steps to resolve it: System.Net.Mail.SmtpException: Error in processing."The server response was: 5.7.3 STARTTLS is required to send mail"
Environment
All supported operating systems
Resolution
This is a general SMTP configuration error, not specific to Spotfire. The error indicates that Transport Layer Security (TLS) encryption is required, but apparently it was not set up. You will need to update the SMTP configuration to make it use TLS.
The online third-party discussion at the following URL addresses this issue: