public static void ExecuteHtmlSendMail(string fromAddress, string fromName, string toAddress, string bodyText, string subject, MailAttachment attachment)
        {
            List <MailAttachment> attchlist = new List <MailAttachment>();

            attchlist.Add(attachment);
            ExecuteHtmlSendMail(fromAddress, fromName, toAddress, "", bodyText, subject, attchlist);
        }
Example #2
0
 public static void ExecuteHtmlSendMail(string fromAddress, string fromName, string toAddress, string bodyText, string subject, MailAttachment attachment)
 {
     List<MailAttachment> attchlist = new List<MailAttachment>();
     attchlist.Add(attachment);
     ExecuteHtmlSendMail(fromAddress, fromName, toAddress, "", bodyText, subject, attchlist);
 }