This document provides developers outlined how to use packaging (these packaging hide some details of communicating with the non-hosting server) to write SMTP and Transport events in the managed code.
Click here to read the full story