Forcing outlook sync

G

Guest

I recently developed an CF 2.0 app for WM5.0 device which sends out emails
using Outlook Poom. I can succesfully get the emails placed into the Outlook
outbox and have them ready for the next scheduled "send and recieve" but I'd
like to actually have my custom application force a "send and recieve" right
after it places the message into the outbox so that it can be delivered
instantly. I have looked through all of hte Microsoft.WindowsMobile
namespace and was unable to find any way to get this done. Can anyone give
me some pointers?

Your help is much appreciated.
 
G

Guest

Figured this out, you can simply call:
MessagingApplication.Synchronize("accountname");
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top