예제 #1
0
 public void SendMail(string subject, string receivers, string htmlTemplate, NameValueCollection expansionValues, bool isHtmlBody)
 {
     LogSend(subject, receivers);
     SmtpMailService.SendMail(subject, receivers, _mailOptions.SmtpUserName, htmlTemplate, expansionValues, isHtmlBody, _mailOptions.SmtpServer, _mailOptions.SmtpPort, _mailOptions.SmtpUserName, _mailOptions.SmtpPassword, _mailOptions.SmtpEnableSSL);
 }
예제 #2
0
 public void SendMail(string subject, string receivers, string messageBody, bool isHtmlBody)
 {
     LogSend(subject, receivers);
     SmtpMailService.SendMail(subject, receivers, _mailOptions.SmtpUserName, messageBody, isHtmlBody, _mailOptions.SmtpServer, _mailOptions.SmtpPort, _mailOptions.SmtpUserName, _mailOptions.SmtpPassword, _mailOptions.SmtpEnableSSL);
 }