public static void SendMail(string to, string subject, string body, bool isHtml) { MailManager.SendMail(IBBAVConfiguration.MailServer, int.Parse(IBBAVConfiguration.MailPort), IBBAVConfiguration.MailUserName, IBBAVConfiguration.MailPassword, IBBAVConfiguration.MailRemitente, to, subject, body, isHtml, null, null, null); }
public static void SendMail(Correo correo) { MailManager.SendMail(correo.Server, correo.Port, correo.UserName, correo.UserPassword, correo.From, correo.To, correo.Subject, correo.Body, correo.IsHTML, correo.ArchivosAdjuntos, correo.CC, correo.BCC); }