Send Email in Pocket PC

D

D G

Hi,

I'm new to programming in the Compact Framework, and am finding that doing
something that should be straightforward incredibly difficult!

I want my app (written in C# using CF 1.0) to create a new Email Message on
the Pocket PC, passed params such as Subject, To, Attachments etc.

I'd prefer if it automated the New|E-mail Message so that if there wasn't a
current connection it would save to the Outbox.

I've downloaded and compiled the POOM but was surprised to see this only
gives access to Contact information! Not able to send an email from that.

BTW I've noticed there are 3rd party libraries such as Mooseworks etc but
can't something as simple as this be done without resorting to these
libraries?

If anyone could give me any pointers I'd be more than grateful,
Thanks,
Duncan
 
G

Guest

If it were simple, why would anyone spend the time to write a library for
it? The fact that 3rd party libraries exist for something usually indicates
a lack of desired functionality.

For WM 5.0 the process is pretty easy using the
Microsoft.WindowsMobile.PocketOutlook namespace.
 
D

D G

There are plenty of 3rd party libraries which act as wrappers for the
novice/intermediate programmer, but it doesn't mean that it can't be done by
a more advanced approach.

I am now more curious than before how this can be achieved. Did Microsoft
not think that developers would like straightforward access to the email
model when designing their Compact Framework?

I realise they have probably made amends with version 2.0, but short of
buying a licence for Visual Studio 2005 (this is a one-off project for home
use), I'm stuck with 1.0.
 
G

Guest

It can definitely be worked around - I mean that's what the 3rd party
library is doing. It's likely wrapping the MAPI interface, though it's
possible to go right to POP without much work as the spec for POP is really,
really simple.

You can also call the tmail app with command lines to send mail as well.
 
D

D G

I'll check it out, cheers.



It can definitely be worked around - I mean that's what the 3rd party
library is doing. It's likely wrapping the MAPI interface, though it's
possible to go right to POP without much work as the spec for POP is
really, really simple.

You can also call the tmail app with command lines to send mail as well.


--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
 

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