Пример #1
0
 public SendMailRequest(FlightWeatherMailManager.MMT_Webs_MailManager.RequestObj MailMessage, string strMailBody, byte[] Attachment, string strErrorMessage)
 {
     this.MailMessage     = MailMessage;
     this.strMailBody     = strMailBody;
     this.Attachment      = Attachment;
     this.strErrorMessage = strErrorMessage;
 }
Пример #2
0
 public bool SendMail(FlightWeatherMailManager.MMT_Webs_MailManager.RequestObj MailMessage, ref string strMailBody, ref byte[] Attachment, ref string strErrorMessage)
 {
     FlightWeatherMailManager.MMT_Webs_MailManager.SendMailRequest inValue = new FlightWeatherMailManager.MMT_Webs_MailManager.SendMailRequest();
     inValue.MailMessage     = MailMessage;
     inValue.strMailBody     = strMailBody;
     inValue.Attachment      = Attachment;
     inValue.strErrorMessage = strErrorMessage;
     FlightWeatherMailManager.MMT_Webs_MailManager.SendMailResponse retVal = ((FlightWeatherMailManager.MMT_Webs_MailManager.MMT_WEBS_MailManagerSoap)(this)).SendMail(inValue);
     strMailBody     = retVal.strMailBody;
     Attachment      = retVal.Attachment;
     strErrorMessage = retVal.strErrorMessage;
     return(retVal.SendMailResult);
 }