Send & Receive emails using vb.net

  • Thread starter Thread starter Nigel Vandyk
  • Start date Start date
N

Nigel Vandyk

I understand in CE 5 it is possible to send and receive emails using vb.net
but I have not yet found an example of how to do it. Can somebody point me
in the rght direction?
 
In Windows Mobile 5.0 you can use
Microsoft.WindowsMobile.PocketOutlook.MessagingApplication.Synchronize.
These managed classes are not available on generic Windows CE devices.

Peter
 
Thanks for that.By any chance, do you know of any smaple code that shows
how to use the PocketOutlook.MessagingApplication class to send or receive
emails?

--
With best wishes


Nigel Vandyk

8 Finchley Way, N3 1AG
Tel: 020 8349 4714
Fax: 020 8346 2413
Mobile: 07976 655709
Website:www.astarsoftware.co.uk
 
Use either the default override to synchronize the currently active account:
MessagingAccount.Synchronize()
Or pass the account name:
MessagingAccount.Synchronize("AccountName")
or a specific EmailAccount:
MessaginAccount.Synchronize(session.EmailAccounts[1])

the send/receive operation occurs asynchronously.

Peter
 
Back
Top