示例#1
0
 public System.Threading.Tasks.Task <ContactManager.CPMail.EmailResponse> EmailAsync(string mailFrom, string mailTo, string subject, string body, bool isBodyHtml, string cc, string bcc)
 {
     ContactManager.CPMail.EmailRequest inValue = new ContactManager.CPMail.EmailRequest();
     inValue.Body            = new ContactManager.CPMail.EmailRequestBody();
     inValue.Body.mailFrom   = mailFrom;
     inValue.Body.mailTo     = mailTo;
     inValue.Body.subject    = subject;
     inValue.Body.body       = body;
     inValue.Body.isBodyHtml = isBodyHtml;
     inValue.Body.cc         = cc;
     inValue.Body.bcc        = bcc;
     return(((ContactManager.CPMail.ServiceSoap)(this)).EmailAsync(inValue));
 }
示例#2
0
 public void Email(string mailFrom, string mailTo, string subject, string body, bool isBodyHtml, string cc, string bcc)
 {
     ContactManager.CPMail.EmailRequest inValue = new ContactManager.CPMail.EmailRequest();
     inValue.Body            = new ContactManager.CPMail.EmailRequestBody();
     inValue.Body.mailFrom   = mailFrom;
     inValue.Body.mailTo     = mailTo;
     inValue.Body.subject    = subject;
     inValue.Body.body       = body;
     inValue.Body.isBodyHtml = isBodyHtml;
     inValue.Body.cc         = cc;
     inValue.Body.bcc        = bcc;
     ContactManager.CPMail.EmailResponse retVal = ((ContactManager.CPMail.ServiceSoap)(this)).Email(inValue);
 }
示例#3
0
 System.Threading.Tasks.Task <ContactManager.CPMail.EmailResponse> ContactManager.CPMail.ServiceSoap.EmailAsync(ContactManager.CPMail.EmailRequest request)
 {
     return(base.Channel.EmailAsync(request));
 }
示例#4
0
 ContactManager.CPMail.EmailResponse ContactManager.CPMail.ServiceSoap.Email(ContactManager.CPMail.EmailRequest request)
 {
     return(base.Channel.Email(request));
 }