How to send the mail when an exception occurs using Gmail

Hi Team,

Bot needs to trigger the mail using SMTP mail or to gmail ( the mail should send only if any System exception occurs), to the mail ID RPABOT@gmail.com
the mail should contains the System exception occurs message(for example: Browser is responding)
Please do the needful

@Palaniyappan
@ppr
@Yoichi
@ushu
@Gokul001

@Vrishchik

In your try catch in the system exception catch block use a send mail activity and add the email ide as needed

And in body add exception.message value where needed , this will give the exception message as strinbf which can be added in mail body as needed

Cheers

1 Like

I am using the RE Framework, where can I mention the Email activity??

@Vrishchik

In the process transaction stat…try catch for process.xaml …system exception catch block

Cheers

you mean set transaction state??

@Vrishchik

No catch block you have a business exception and exception…in exception you can place it

You cna also do it inside system exception seuqence inside your set transaction status as well

Cheers

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.