Tuesday, July 28, 2009

How to send HTML email from Sharepoint with CC/BCC

public static void SendEmail(SPWeb web, string toEmail, string ccEmail,

string bccEmail,
string subject, string body)
{
   if (!string.IsNullOrEmpty(toEmail))
  {
     StringDictionary headers = new StringDictionary
     {
        {"to", toEmail},
        {"cc", ccEmail},
        {"bcc", bccEmail},
        {"subject", subject},
        {"content-type", "text/html"}
     };
     SPUtility.SendEmail(web, headers, body);
   }
}

Sunday, July 19, 2009

Interesting articles on various blogspot

I found various intereting articles on various blog as mentioned below