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); }
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); }