I'm doing some pretty complicated stuff with event sinks, but I generally have to feel my way around in the dark. Does any documentation exist that goes into more detail? One question I have right now is on persistant configuration. The sink I am working on is your standard IMailTransportSubmission.OnMessageSubmission implementation. I have a handful of values that I store in an XML config file that I don't want to have to read from disk every time the sink runs. I have previously used the SharedPropertyGroupManager, but I don't really know what is going on behind the scenes. Note to Glen: Do you do any consulting on Exchange dev?
Unfortunately the documentation is little lacking (but comparatively I find the Exchange stuff a lot better then some other areas). MSDN is usually the best place to look the CDO doco is usually better then the Exchange SDK for SMTP event sinks http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/0b60501a-7908-4efa-b2c9-8a6040f1bceb.asp?frame=true . I printed this out and made sure I read every page. The other good source is some of Daniel Longley 's old newsgroup post in the various Exchange forums which contain information I've not seen anywhere else. There's also information in the architecture documents up on TechNet which I refer to sometime and also the Exchange Team's blog also has some very good posts http://blogs.technet.com/exchange/default.aspx But I would agree that a lot of time you have to stumble round in the dark if you can afford it you can try contacting Microsoft Developer support which should be able to help you out or a least hopefully point you in the right direction. To persist data in a SMTP Event sink I use the Registry I figure it good enough for Microsoft to use to store configuration data so im going to get decent performance when it comes to accessing and memory caching. If you think about it SMTP event sinks run in the IIS process space so if you have a really busy application it might be worth investigating wether custom metabase properties might provide the best performance. AFAIK the metabase is allways held in memory by IIS. Cheers Glen "David A. Coursey" wrote in message news:F5D21F21-5FA4-4362-A805-5D1E658669DD@microsoft.com... > I'm doing some pretty complicated stuff with event sinks, but I generally > have to feel my way around in the dark. Does any documentation exist that > goes into more detail? > > One question I have right now is on persistant configuration. The sink I > am > working on is your standard IMailTransportSubmission.OnMessageSubmission > implementation. I have a handful of values that I store in an XML config > file that I don't want to have to read from disk every time the sink runs. > I > have previously used the SharedPropertyGroupManager, but I don't really > know > what is going on behind the scenes. > > Note to Glen: Do you do any consulting on Exchange dev?
Outstanding, at least now I have a little more reading material. I was getting tired of looking at the same 4 articles on MSDN. I do have my free calls for my MSDN subscription, but I was hoping to save those for extreme cases. thanks dave "Glen Scales [MVP]" wrote: > Unfortunately the documentation is little lacking (but comparatively I find > the Exchange stuff a lot better then some other areas). MSDN is usually the > best place to look the CDO doco is usually better then the Exchange SDK for > SMTP event sinks > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/0b60501a-7908-4efa-b2c9-8a6040f1bceb.asp?frame=true . > I printed this out and made sure I read every page. The other good source is > some of Daniel Longley 's old newsgroup post in the various Exchange forums > which contain information I've not seen anywhere else. There's also > information in the architecture documents up on TechNet which I refer to > sometime and also the Exchange Team's blog also has some very good posts > http://blogs.technet.com/exchange/default.aspx > > But I would agree that a lot of time you have to stumble round in the dark > if you can afford it you can try contacting Microsoft Developer support > which should be able to help you out or a least hopefully point you in the > right direction. > > To persist data in a SMTP Event sink I use the Registry I figure it good > enough for Microsoft to use to store configuration data so im going to get > decent performance when it comes to accessing and memory caching. If you > think about it SMTP event sinks run in the IIS process space so if you have > a really busy application it might be worth investigating wether custom > metabase properties might provide the best performance. AFAIK the metabase > is allways held in memory by IIS. > > Cheers > Glen > > "David A. Coursey" wrote in message > news:F5D21F21-5FA4-4362-A805-5D1E658669DD@microsoft.com... > > I'm doing some pretty complicated stuff with event sinks, but I generally > > have to feel my way around in the dark. Does any documentation exist that > > goes into more detail? > > > > One question I have right now is on persistant configuration. The sink I > > am > > working on is your standard IMailTransportSubmission.OnMessageSubmission > > implementation. I have a handful of values that I store in an XML config > > file that I don't want to have to read from disk every time the sink runs. > > I > > have previously used the SharedPropertyGroupManager, but I don't really > > know > > what is going on behind the scenes. > > > > Note to Glen: Do you do any consulting on Exchange dev? > > >