|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Intercepting emails as they are sentHi, I've been asked to develop (despite having no prior experience with
Exchange) some sort of plugin that can intercept ALL emails at the point they are sent. I've looked at the SMTP OnArrival event, but this isn't sufficient as it only catches emails as they leave the exchange server for hte outside world. I need to be able to inspect ANY email at th epoin that it is sent, including one's between mailboxes on the same Exchange server. Can this be done, and if so what do I need to look at? Hi,
Yes it can. You should look at transport sinks. You can do some working using CDO but there is a better option using .NET and wrapper classes around the API's. If you get the 2003 Exchange SDK and search on transport sink you should find all the infor you need. kind regards Greg http://www.geckoware.com.au Show quoteHide quote "SeekerOfTruths" <SeekerOfTru***@discussions.microsoft.com> wrote in message news:147F2876-9296-4D36-899D-EB8D830D081F@microsoft.com... > Hi, I've been asked to develop (despite having no prior experience with > Exchange) some sort of plugin that can intercept ALL emails at the point > they > are sent. > > I've looked at the SMTP OnArrival event, but this isn't sufficient as it > only catches emails as they leave the exchange server for hte outside > world. > I need to be able to inspect ANY email at th epoin that it is sent, > including > one's between mailboxes on the same Exchange server. > > Can this be done, and if so what do I need to look at? Thanks for the reply Greg. I've been looking through the Exchange 2003 SDK
documentation, but all the references to Transport Event Sinks seem to refer to SMTP sinks - there's nothing that explains how to intercept emails that are not using the SMTP route. For example, if I send a colleague an email using MS Outlook, the email passed to Exchange in MAPI format and would be resolved as a local message by Exchange and placed on it's local message queue - it would never go through the SMTP mechanism and thus not fire an event. I've already played around with hooking the SMTP event and know that I can catch those emails, but I need to be able to intercept the local ones too and I'm not sure what events or APIs I need to make use of. If there's any further information that you could give to help me in this I'd really be very grateful. Seeker Show quoteHide quote "Microsoft" wrote: > Hi, > Yes it can. You should look at transport sinks. You can do some working > using CDO but there is a better option using .NET and wrapper classes around > the API's. > > If you get the 2003 Exchange SDK and search on transport sink you should > find all the infor you need. > > > kind regards > Greg > http://www.geckoware.com.au > > > "SeekerOfTruths" <SeekerOfTru***@discussions.microsoft.com> wrote in message > news:147F2876-9296-4D36-899D-EB8D830D081F@microsoft.com... > > Hi, I've been asked to develop (despite having no prior experience with > > Exchange) some sort of plugin that can intercept ALL emails at the point > > they > > are sent. > > > > I've looked at the SMTP OnArrival event, but this isn't sufficient as it > > only catches emails as they leave the exchange server for hte outside > > world. > > I need to be able to inspect ANY email at th epoin that it is sent, > > including > > one's between mailboxes on the same Exchange server. > > > > Can this be done, and if so what do I need to look at? > >
Other interesting topics
How to find message limit
Forms-based authentication in Exchange 2003 AND Exchange 2007 Exchange Web Service - Listening events on all user's mailboxes Exchange 2003 store.exe CPU usage Exchange OWA 2003 Frontend Convert to 2007 Masking e-mail address upload email to drafts folder Adding a new property to the mail Re: Joulukadun avajaiset Raahessa 28112008015.mp4 [138/324] Re: Ruotsin 3 ydinvoimalaseisokkia. |
|||||||||||||||||||||||