I am interested in programming Microsoft Exchange using C++. I am interested in intercepting all outbound emails send to the Exchange Server and deciding whether to encrypt them pior to letting Exchange send them out. In addition, I would like to intercept all emails inbound to Exchange and decide whether they should be decrypted prior to ending up in the users mailbox. I know where to find info regarding the encrypt/decrypt (OpenSSL,OpenPGP and the PGP SDK), I'm looking for info on interfacing with Exchange. While it would be really nice if someone would tell me how to do it or even provide source code, I would settle for and be really appreciative of pointers to the technologies I need to learn about and possibly pointers to books that describe what I need to know. Would I be better of trying to interface with Outlook and encrypt/decrypt on the client? I could do it either way.