Is possible get the error message to send by email?
1 Like
Hi,
Try using try catch and catch the error and you can convert it to string type and send it over mail
Let us know if this helps.
Regards,
Pavan H
Sorry man, i don’t understand how can I catch the error with Try/Catch can you show me a example
use try catch block
in catch block
Exception.Message.ToString will give you the exception as a string. You can pass it as a value to Body or subject of Mail
1 Like
It’s work. Thank you guys for the reply
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.