Sending E-mail and SMS

Y

yuen

How can I send e-mail and SMS in PocketPC 2002?
Can someone help me?
Either C# or VB.Net Code is welcome.
 
P

Peter Foot [MVP]

For Email:
The simplest method is to call the pmail/tmail executable with command line
arguments for the address, subject and body of the mail - see here for
details http://www.nsbasic.com/ce/info/nsbce/technotes/TN17.htm
Alternatively you can P/Invoke the CEMAPI apis, or use a third party
component to use SMTP directly (such as IP*Works)

For SMS:
For Phone Edition devices (such as the XDA etc) you can P/Invoke the built
in API - see this article for details:-
http://smartdevices.microsoftdev.com/Learn/Articles/564.aspx

If you intend to use a separate phone handset you will need to establish a
serial connection with the device (via cable, ir or bluetooth) and set the
appropriate gsm codes to the phone to send sms - I'm not aware of any CF
samples but you should be able to find the GSM specs on google.

Peter
 
Y

yuen

THX
Peter Foot said:
For Email:
The simplest method is to call the pmail/tmail executable with command line
arguments for the address, subject and body of the mail - see here for
details http://www.nsbasic.com/ce/info/nsbce/technotes/TN17.htm
Alternatively you can P/Invoke the CEMAPI apis, or use a third party
component to use SMTP directly (such as IP*Works)

For SMS:
For Phone Edition devices (such as the XDA etc) you can P/Invoke the built
in API - see this article for details:-
http://smartdevices.microsoftdev.com/Learn/Articles/564.aspx

If you intend to use a separate phone handset you will need to establish a
serial connection with the device (via cable, ir or bluetooth) and set the
appropriate gsm codes to the phone to send sms - I'm not aware of any CF
samples but you should be able to find the GSM specs on google.

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org
 

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