Access to Outlook Express using C#

  • Thread starter Thread starter Ricardo Lezana Bastante
  • Start date Start date
R

Ricardo Lezana Bastante

Hola a todos:

¿Como se puede acceder a Outlook Express desde un programa c#?

Gracias
Ricardo.
 
To send an email via a c# application using Outlook Express use the
following code.

using System.Diagnostics;

string toEmail = "(e-mail address removed)";
string subject = "Love the Program";
string body = "Thanks a lot";
string message = string.Format( "mailto:{0}?subject={1}&body={2}", toEmail,
subject, body );

Process.Start( message );

Add this to a linklabel.

Example app can be found at
http://www.publicjoe.f9.co.uk/csharp/snip/snip007.html

Hope this helps

Publicjoe
C# Tutorial at http://www.publicjoe.f9.co.uk/csharp/tut.html
C# Snippets at http://www.publicjoe.f9.co.uk/csharp/snip/snippets.html
C# Ebook at http://www.publicjoe.f9.co.uk/csharp/samples/ebook.html
VB Ebook at http://www.publicjoe.f9.co.uk/vbnet/samples/ebook.html
 
Back
Top