You give a good example of how to attach to events at the Item level, but what I don't understand is how to attach to events that are on the package level. What I'm basically looking for is a way to send an email once an entire package has been extracted or when a package has been transfered to another server.
Can you point me at a class or a code sample that would show me how to do this in a web context, including how to attach the event? I'm assuming I can just create a static class in App_Code and then attach the event handler in the static class's constructor method, but this is also unclear in the documentation.
Hooking into package-level events in Courier 2.5+
I'm looking over some relatively terse documentation here on how to subscribe to Courier Events:
http://nightly.umbraco.org/UmbracoCourier/Data%20Resolvers.pdf
You give a good example of how to attach to events at the Item level, but what I don't understand is how to attach to events that are on the package level. What I'm basically looking for is a way to send an email once an entire package has been extracted or when a package has been transfered to another server.
Can you point me at a class or a code sample that would show me how to do this in a web context, including how to attach the event? I'm assuming I can just create a static class in App_Code and then attach the event handler in the static class's constructor method, but this is also unclear in the documentation.
Appreciate the help! Thank you!
is working on a reply...