示例#1
0
 public static void Send(string frommail, string tomail, string bccmail, string subject,
                         string body, bool isBodyHtml, Encoding encoding, bool isAuthentication, params string[] files)
 {
     Send(SmtpConfig.Create().SmtpSetting.Server, SmtpConfig.Create().SmtpSetting.UserName, SmtpConfig.Create().SmtpSetting.Password, frommail,
          tomail, "", bccmail, subject, body, isBodyHtml, encoding, isAuthentication, files);
 }
示例#2
0
 public static void Send(string recipient, string subject, string body)
 {
     Send(SmtpConfig.Create().SmtpSetting.Sender, recipient, "", subject, body, true, Encoding.Default, true, null);
 }
示例#3
0
 public static void Send(string tomail, string bccmail, string subject, string body, params string[] files)
 {
     Send(SmtpConfig.Create().SmtpSetting.Sender, tomail, bccmail, subject, body, true, Encoding.Default, true, files);
 }