Beispiel #1
0
 public SendMailRequestBody(string From, string To, InventarioHSC.BusinessLayer.Mailer.ArrayOfString CC, string Subject, string Body, bool isHTML)
 {
     this.From    = From;
     this.To      = To;
     this.CC      = CC;
     this.Subject = Subject;
     this.Body    = Body;
     this.isHTML  = isHTML;
 }
Beispiel #2
0
 public string SendMail(string From, string To, InventarioHSC.BusinessLayer.Mailer.ArrayOfString CC, string Subject, string Body, bool isHTML)
 {
     InventarioHSC.BusinessLayer.Mailer.SendMailRequest inValue = new InventarioHSC.BusinessLayer.Mailer.SendMailRequest();
     inValue.Body         = new InventarioHSC.BusinessLayer.Mailer.SendMailRequestBody();
     inValue.Body.From    = From;
     inValue.Body.To      = To;
     inValue.Body.CC      = CC;
     inValue.Body.Subject = Subject;
     inValue.Body.Body    = Body;
     inValue.Body.isHTML  = isHTML;
     InventarioHSC.BusinessLayer.Mailer.SendMailResponse retVal = ((InventarioHSC.BusinessLayer.Mailer.MailerServiceSoap)(this)).SendMail(inValue);
     return(retVal.Body.SendMailResult);
 }