|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Re: outlook cache modehttp://msdn.microsoft.com/en-us/library/ms526223(EXCHG.10).aspx cheers Glen Show quoteHide quote "Ashish" <akohli_2***@hotmail.com> wrote in message news:uo6lQuQuJHA.4980@TK2MSFTNGP02.phx.gbl... > Thanks for the given link > Is the any example(VB/C++) available to use transport event > "Glen Scales [MVP]" <gsca***@outlookexchange.com> wrote in message > news:%23ykDVCOuJHA.4632@TK2MSFTNGP06.phx.gbl... >> Event sinks don't fire on the Sent Items or Outbox folders see >> http://support.microsoft.com/kb/297274/en-us if your using Exchange 2007 >> you might want to look at EWS notifications or Transport Agents. On 2003 >> you could use a Outlook add-in to catch the send event in Outlook or try >> using a transport event sink to catch outgoing mail and a global sink for >> Internal Email. >> >> Cheers >> Glen >> >> >> >> "Ashish" <akohli_2***@hotmail.com> wrote in message >> news:OyN%23Gp0tJHA.1208@TK2MSFTNGP04.phx.gbl... >>> Outlook generates events (when send/save a mail ) which are process on >>> exchange server in onsyncsave. If send a mail to a user then two events >>> with >>> following path are caught on exchange server >>> 1. Mail under Inbox folder >>> 2. Mail under Sent Items folder. >>> >>> But if we disable cache mode and send a mail then we catch only one >>> event on >>> exchange server >>> 1. Mail under Inbox folder >>> >>> How to generate event for sent items for this case >>> >>> >>> >> >> > > Thanks for the link. I try to implement smtp transport events in same dll
where i'm implementing onsyncsave,onsyncdelete for onsyncsave,onsyncdelete i create a com component in component service. Should i create another com component for smtp transport(iseventcachable,onarrival) or can use existing one. It's not mentioned in the given link how to activate them Show quoteHide quote "Glen Scales [MVP]" <gsca***@outlookexchange.com> wrote in message news:%23NP$iXMvJHA.3832@TK2MSFTNGP02.phx.gbl... > have a look at > http://msdn.microsoft.com/en-us/library/ms526223(EXCHG.10).aspx > > cheers > Glen > > "Ashish" <akohli_2***@hotmail.com> wrote in message > news:uo6lQuQuJHA.4980@TK2MSFTNGP02.phx.gbl... >> Thanks for the given link >> Is the any example(VB/C++) available to use transport event >> "Glen Scales [MVP]" <gsca***@outlookexchange.com> wrote in message >> news:%23ykDVCOuJHA.4632@TK2MSFTNGP06.phx.gbl... >>> Event sinks don't fire on the Sent Items or Outbox folders see >>> http://support.microsoft.com/kb/297274/en-us if your using Exchange 2007 >>> you might want to look at EWS notifications or Transport Agents. On 2003 >>> you could use a Outlook add-in to catch the send event in Outlook or try >>> using a transport event sink to catch outgoing mail and a global sink >>> for Internal Email. >>> >>> Cheers >>> Glen >>> >>> >>> >>> "Ashish" <akohli_2***@hotmail.com> wrote in message >>> news:OyN%23Gp0tJHA.1208@TK2MSFTNGP04.phx.gbl... >>>> Outlook generates events (when send/save a mail ) which are process on >>>> exchange server in onsyncsave. If send a mail to a user then two events >>>> with >>>> following path are caught on exchange server >>>> 1. Mail under Inbox folder >>>> 2. Mail under Sent Items folder. >>>> >>>> But if we disable cache mode and send a mail then we catch only one >>>> event on >>>> exchange server >>>> 1. Mail under Inbox folder >>>> >>>> How to generate event for sent items for this case >>>> >>>> >>>> >>> >>> >> >> > > Ok I have implemented OnArrival. I create a new com dll and implement
interfaces ISMTPOnArrival and IEventIsCacheable. Then register with smtpreg.vbs But when try to debug it then it's fail to debug. I attach this dll to inetinfo.exe. Please suggest what's left Show quoteHide quote "Glen Scales [MVP]" <gsca***@outlookexchange.com> wrote in message news:%23NP$iXMvJHA.3832@TK2MSFTNGP02.phx.gbl... > have a look at > http://msdn.microsoft.com/en-us/library/ms526223(EXCHG.10).aspx > > cheers > Glen > > "Ashish" <akohli_2***@hotmail.com> wrote in message > news:uo6lQuQuJHA.4980@TK2MSFTNGP02.phx.gbl... >> Thanks for the given link >> Is the any example(VB/C++) available to use transport event >> "Glen Scales [MVP]" <gsca***@outlookexchange.com> wrote in message >> news:%23ykDVCOuJHA.4632@TK2MSFTNGP06.phx.gbl... >>> Event sinks don't fire on the Sent Items or Outbox folders see >>> http://support.microsoft.com/kb/297274/en-us if your using Exchange 2007 >>> you might want to look at EWS notifications or Transport Agents. On 2003 >>> you could use a Outlook add-in to catch the send event in Outlook or try >>> using a transport event sink to catch outgoing mail and a global sink >>> for Internal Email. >>> >>> Cheers >>> Glen >>> >>> >>> >>> "Ashish" <akohli_2***@hotmail.com> wrote in message >>> news:OyN%23Gp0tJHA.1208@TK2MSFTNGP04.phx.gbl... >>>> Outlook generates events (when send/save a mail ) which are process on >>>> exchange server in onsyncsave. If send a mail to a user then two events >>>> with >>>> following path are caught on exchange server >>>> 1. Mail under Inbox folder >>>> 2. Mail under Sent Items folder. >>>> >>>> But if we disable cache mode and send a mail then we catch only one >>>> event on >>>> exchange server >>>> 1. Mail under Inbox folder >>>> >>>> How to generate event for sent items for this case >>>> >>>> >>>> >>> >>> >> >> > > It's strange that it's debug only for one case.
When i send a mail to a user using some python script then i can debug the OnArrival for each mail and sometime control comes in IsCacheable(very few). But when i send mail using Outlook/OutlookWebAccess then i can never debug means control never comes in OnArrival/IsCacheable. In IsCacheable i just returns S_OK. I want to use this because for a user if i disable cache mode then exchange never send sent item mail to OnSynSave. Please reply. Show quoteHide quote "Glen Scales [MVP]" <gsca***@outlookexchange.com> wrote in message news:%23NP$iXMvJHA.3832@TK2MSFTNGP02.phx.gbl... > have a look at > http://msdn.microsoft.com/en-us/library/ms526223(EXCHG.10).aspx > > cheers > Glen > > "Ashish" <akohli_2***@hotmail.com> wrote in message > news:uo6lQuQuJHA.4980@TK2MSFTNGP02.phx.gbl... >> Thanks for the given link >> Is the any example(VB/C++) available to use transport event >> "Glen Scales [MVP]" <gsca***@outlookexchange.com> wrote in message >> news:%23ykDVCOuJHA.4632@TK2MSFTNGP06.phx.gbl... >>> Event sinks don't fire on the Sent Items or Outbox folders see >>> http://support.microsoft.com/kb/297274/en-us if your using Exchange 2007 >>> you might want to look at EWS notifications or Transport Agents. On 2003 >>> you could use a Outlook add-in to catch the send event in Outlook or try >>> using a transport event sink to catch outgoing mail and a global sink >>> for Internal Email. >>> >>> Cheers >>> Glen >>> >>> >>> >>> "Ashish" <akohli_2***@hotmail.com> wrote in message >>> news:OyN%23Gp0tJHA.1208@TK2MSFTNGP04.phx.gbl... >>>> Outlook generates events (when send/save a mail ) which are process on >>>> exchange server in onsyncsave. If send a mail to a user then two events >>>> with >>>> following path are caught on exchange server >>>> 1. Mail under Inbox folder >>>> 2. Mail under Sent Items folder. >>>> >>>> But if we disable cache mode and send a mail then we catch only one >>>> event on >>>> exchange server >>>> 1. Mail under Inbox folder >>>> >>>> How to generate event for sent items for this case >>>> >>>> >>>> >>> >>> >> >> > >
Other interesting topics
How to access attachment property using CDO
Creating Appointment with ASP.NET Interface with Public Folders Send email script Querying free / busy times of meeting rooms CDO login error The format of the recipient's e-mail address isn't valid. .... How to get outlook rule MAPI33 - a great blow to exchange development Read/Write Exchange mailbox permissions |
|||||||||||||||||||||||