Can anybody tellm,e how to capure error and send the description in a email.
I have added the script task in OnError event handler and get the error message from System::ErrorDescription into a global variable and then send that message in a mail in OnPostExecute Event. My problem here is that OnPostExecute Event execute number of time. but i want it to eecute it once at the end of package execution. Right now i am using one varible to check if it is first time then send email otherwise quit. in this case it send only the first error.
Lakhan Pal Garg