R Ricardo Lezana Bastante Jul 20, 2004 #1 Hola a todos: ¿Como se puede acceder a Outlook Express desde un programa c#? Gracias Ricardo.
M Mike Kitchen Jul 20, 2004 #2 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
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