public static void Send(string Recipient, string Sender, string Subject, string Body) { SmtpConfig config = SmtpConfig.Create(); Send(config.SmtpSetting.Server, Sender, Recipient, Subject, Body, true, Encoding.UTF8, true, null); }
//发送邮件 public static void Send(string recipient, string subject, string body) { SmtpConfig config = SmtpConfig.Create(); Send(config.SmtpSetting.Server, config.SmtpSetting.Sender, recipient, subject, body, true, Encoding.Default, true, null); }