none
SPUtility.SendEmail - "Form" RRS feed

  • Question

  • Hello,

     I have used the following lines to send email :

           StringDictionary headers = new StringDictionary();
            headers.Add("to", "email1@hotmail.com");
            headers.Add("subject", "Done Workflow");
            headers.Add("from", "BI Domain");
            headers.Add("content-type", "text/html");
            SPUtility.SendEmail(web, headers, "okito");

     The email is sent . The from is '<BI Domain>' . I need to be  'BI Domain' without < > . How can I do that .


    ASk

    Thursday, December 20, 2012 8:54 PM

Answers