Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ken Sykora 17 posts 53 karma points
    Oct 01, 2012 @ 22:17
    Ken Sykora
    0

    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!

Please Sign in or register to post replies

Write your reply to:

Draft