• On a related note, I figured I would add an OnError Event Handler to each of the tasks in my packages. Each of these handlers will have a script task that will send out an email (using VB)indicating which task failed. I figured I would create some kind of email function/sub routine that will handle generating and sending the email out. I'm just not sure where exactly to define this function so that it can be accessed by all the tasks in the package. Should I make a separate class other than ScriptMain and put the email function in there? If you have any ideas, please let me know. Thank you!