Is possible get the error message to send by email?
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.
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
It’s work. Thank you guys for the reply
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.