From: psmdev on
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