Sending an email

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to send an email using the compact framework? If not, what other methods could I use to develop my application to send emails on the pocket pc 2002 platform

Thanks
Robert
 
Robert:

You can use the Sockets on the cf which will work pretty much like it would
on the full framework. This is written for the full framework, but it
should work on the CF nonetheless.

http://www.csharphelp.com/archives/archive122.html

HTH,

Bill
Robert said:
Is there a way to send an email using the compact framework? If not, what
other methods could I use to develop my application to send emails on the
pocket pc 2002 platform?
 
Hello Bill

I had got that code and put it into Visual Studio .Net and I got the following errors.

'System.Net.Sockets.TcpClient.Active' is inaccessible due to its protection leve
'System.Net.Sockets.SocketException' does not contain a definition for 'StackTrace
'System.Exception' does not contain a definition for 'StackTrace

Since SMTPClient inherits from the TCPClient, the Active member should be accessible shouldn't it, or could this be due to using the compact framework. Also, I don't understand the StackTrace errors either because they should be part of the Exception class shouldn't they. Thanks for the file and thanks in advance for any more help you can provide

Robert
 

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

Back
Top