C#
3
Posts
3
Posters
0
Views
1
Watching
-
How can I send a email with the standard email-program in windows. Who can help me with an example
You need a MAPI wrapper to do this, there are several on the web, type 'C# MAPI' in to google.
Christian Graus - C++ MVP
-
How can I send a email with the standard email-program in windows. Who can help me with an example
Send an email with two lines of code: Using System.Net.Mail; namespace Email { class EmailMe { void SendEmail() { string SmtpSrv = "mail.Hotmail.com"; SmtpClient _SC = new SmtpClient(SmtpSrv); _SC.Send(string "From", string "To", string "Subject", string "Body") } } }