public static void SendMailByDictionary(Dictionary <string, string> dicEmailInfo, Dictionary <string, Stream> dicFiles, string emailTo, String Key, string razon, string comentarios, string fumigacion) { clsEmail email = new clsEmail(Key); try { email.setMessage(dicEmailInfo); email.setFiles(dicFiles); email.ToAdress = emailTo; email.Send(razon, comentarios, fumigacion); } catch (Exception ex) { throw new Exception(ex.Message); } }
//correo para solicitar confirmaciĆ³n de cuenta public static void SendMailByDictionary(Dictionary <string, string> dicEmailInfo, Dictionary <string, Stream> dicFiles, string emailTo, String Key, string mail, string token) { clsEmail email = new clsEmail(Key); try { email.setMessage(dicEmailInfo); email.setFiles(dicFiles); email.ToAdress = emailTo; email.Send(mail, token); } catch (Exception ex) { throw new Exception(ex.Message); } }
//correo para solicitar confirmaciĆ³n de cuenta public static void SendMailByDictionary(Dictionary<string, string> dicEmailInfo, Dictionary<string, Stream> dicFiles, string emailTo, String Key, string mail, string token) { clsEmail email = new clsEmail(Key); try { email.setMessage(dicEmailInfo); email.setFiles(dicFiles); email.ToAdress = emailTo; email.Send(mail, token); } catch (Exception ex) { throw new Exception(ex.Message); } }