Question
How to catch all exceptions of Automation in one place and send email using Microsoft exchange
Hi Team,
How to catch all exceptions of an Automations in one place(controls not matched, System Issues, Network Connectivity) and send an email to an Admin using Microsoft exchange.
I tried with setting the Email Mode"on" in RunTimeConfig.xml and since its an exchange server, getting below error
1) Exception Information
*********************************************
Exception Type: System.Net.Mail.SmtpException
StatusCode: MustIssueStartTlsFirst
Message: "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated"
Thanks,
Arun
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
The user needs to have permission to send the email. Here is the online documentation:
http://help.openspan.com/80/Platform_Configuration/RuntimeConfigXML.htm#DiagnosticsPublishers
Be careful with this - if you have a solution that has a large number of exceptions and you turn this on for a large number of users you can create a number of issues at the mail server