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); }
public static void Send(string recipient, string subject, string body) { Send(SmtpConfig.Create().SmtpSetting.Sender, recipient, "", subject, body, true, Encoding.Default, true, null); }
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); }