コード例 #1
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);
        }
コード例 #2
0
ファイル: EmailSender.cs プロジェクト: letaoana/PlayPen
 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);
 }