SMTP Email Failure Exception

I have an automation that will be sending out SMTP emails. I want to catch if there are exceptions and the emails don’t send. I put in email addresses that are invalid in the source file but the Try Catch isn’t working.

Can anyone advise how to accomplish this?



You have to keep the Send SMTP Mail Message activity inside Try block.

SMTP.xaml (6.1 KB) You can give the message box in the catch block to ensure to catch the error if email id is wrong.