Wednesday, January 12, 2011

dotNet eMail

assembly: System.Net.Mail
classes: MailMessage, SmtpClient

---

MSDN Social thread:

public static extern IntPtr ShellExecute(
IntPtr hwnd,
string lpOperation,
string lpFile,
string lpParameters,
string lpDirectory,
int nShowCmd);

Public static void LaunchEmailClient(string mailURL)
{�
ShellExecute(IntPtr.Zero, "open", mailURL, "", "", 4);
}

You can refer http://msdn.microsoft.com/en-us/library/bb762153.aspx

---



Contact Us




No comments:

Post a Comment

comment: