Use the MessagingApplication.Synchronize method, you can optionally specify
the specific account name. The Microsoft libraries do not support reading
incoming emails. For that you have to work with CEMAPI, a native COM API. We
have produced a wrapper in this library:-
http://inthehand.com/content/Mobile.aspx Peter
--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net |
www.inthehand.com In The Hand Ltd - .NET Solutions for Mobility
[quoted text, click to view] "Igor Mikovic" <gezdra@cg.yu> wrote in message
news:%23QLzZiy6HHA.4252@TK2MSFTNGP05.phx.gbl...
> Hi,
>
> how can I force my app to send messages from Outbox of PocketOutlook (over
> GPRS), and to read messages from my ISP into Inbox of PocketOutlook?
>
> Now, I know how to create (write) and 'send' message from my code, but
> such message continue to 'sit' in Outbox folder of PocektOutlook, until I
> manually press 'Send/Receive' command.
> Is there Visual Basic command to do this automatically (to send messages
> from Outbox via GPRS), without manually sending it from Pocket Outlook?
> And vice-versa, is there any way to 'pop' into my Inbox from my ISP (also
> over GPRS)?
> And if yes, how to read such messages from Inbox of PocketOutlook in my
> Visual Basic code?
>
> Thanks
> Igor
>
>