Hi,



I'm writing an extension to my app that sends and receives emails.

I've got as far as creating an email, attaching files and then forcing a
send using MailSyncMessages, what I can't figure out is how to detect that
the recieve part of the sync has been completed. I need to know this so that
I can then check the Inbox for a certain file to be processed. I could keep
checking the Inbox for files that I'm interested in (which may or may not
arrive), but how would I know that the receive action had been completed and
to stop looking?



Thanks for any help you can give.



Julian

Re: MAPI - How to detect Send/Receive complete? by James

James
Mon Jun 02 12:20:47 CDT 2008

I have seen something called "MessageInterception.MessageInterceptor", might
be worth looking into.


"psmdev" <psmdev@discussions.microsoft.com> wrote in message
news:9AF7208C-9123-4B3C-8C3D-7DF301FF7BF2@microsoft.com...
> Hi,
>
>
>
> I'm writing an extension to my app that sends and receives emails.
>
> I've got as far as creating an email, attaching files and then forcing a
> send using MailSyncMessages, what I can't figure out is how to detect that
> the recieve part of the sync has been completed. I need to know this so
> that
> I can then check the Inbox for a certain file to be processed. I could
> keep
> checking the Inbox for files that I'm interested in (which may or may not
> arrive), but how would I know that the receive action had been completed
> and
> to stop looking?
>
>
>
> Thanks for any help you can give.
>
>
>
> Julian
>