/// <summary> /// Carga el template html y la imagen a utilizar como logo al momento de enviar un correo /// </summary> /// <param name="masterPageAbsolutePath">Ruta de donde cargar el template del correo</param> /// <param name="logoAbsolutePath">Ruta de donde cargar la imagen del logo del correo</param> public void SetMasterPage(string masterPageAbsolutePath, string logoAbsolutePath) { _masterpage = MasterPageParameters.LoadFromFile(masterPageAbsolutePath, logoAbsolutePath); }
public void SendMailAsync(string senTomail, string subject, string body, string masterPageAbsolutePath, string logoAbsolutePath) { SendMailAsync(new List <string> { senTomail }, null, null, subject, body, null, null, MasterPageParameters.LoadFromFile(masterPageAbsolutePath, logoAbsolutePath)); }