ozhonetech

Hi,

I am developing smart device applications by using CF 1.0. I need your help. How to send mail Is there any code to send mail from pocket pc Please send your suggestions or links.

Thanx,

M. GANESAN




Re: Smart Devices VB and C# Projects Send mail from Pocket PC

AndrewBadera

you can't just send mail without a mail server to receive it, though you CAN send mail without an SMTP service on your device.

if you do have an SMTP server, you can use socket programming to implement a simple SMTP client to send mail. unfortunately I don't believe System.Net.Mail.SmtpClient is implemented for NETCF, neither 1.0 nor 2.0.

SMTP client examples using sockets:

http://www.codeproject.com/cs/internet/smtpconsole.asp
http://www.codeproject.com/cs/internet/sendmailcsharp.asp
http://www.eggheadcafe.com/articles/20030316.asp