Products | Versions |
---|---|
Spotfire Automation Services | 7.5 and later |
You come across scenarios wherein the send email tasks may fail. Below are few common error messages.
--------------------------------------------------------------
The task 'Send Email' could not be executed.
Failed to send email using SMTP server 'smtp.server.com' from 'xyz@company.com' to 'abc@company.com'.
Reason: System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [XXXXXXX.domain.com]
The execution of the job failed, server error: Task 3 'Send Email' failed with: Failed to send email using SMTP server 'XXXXXXX.domain.com' from 'xyz@company.com' to 'abc@company.com'.
Reason: System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated
Task 3 Send Email failed\nSystem.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.1 Unable to relay for abc@company.com
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)