Exemplo n.º 1
0
 public MailResponse Send(Mails mails)
 {
     object[] results = this.Invoke("Send", new object[] {
         mails
     });
     return((MailResponse)(results[0]));
 }
Exemplo n.º 2
0
 public MailResponse SendLater(Mails mails, System.DateTime datetime)
 {
     object[] results = this.Invoke("SendLater", new object[] {
         mails,
         datetime
     });
     return((MailResponse)(results[0]));
 }
Exemplo n.º 3
0
 /// <remarks/>
 public void SendAsync(Mails mails, object userState)
 {
     if ((this.SendOperationCompleted == null))
     {
         this.SendOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendOperationCompleted);
     }
     this.InvokeAsync("Send", new object[] {
         mails
     }, this.SendOperationCompleted, userState);
 }
Exemplo n.º 4
0
 /// <remarks/>
 public void SendLaterAsync(Mails mails, System.DateTime datetime, object userState)
 {
     if ((this.SendLaterOperationCompleted == null))
     {
         this.SendLaterOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendLaterOperationCompleted);
     }
     this.InvokeAsync("SendLater", new object[] {
         mails,
         datetime
     }, this.SendLaterOperationCompleted, userState);
 }
Exemplo n.º 5
0
 /// <remarks/>
 public void SendLaterAsync(Mails mails, System.DateTime datetime)
 {
     this.SendLaterAsync(mails, datetime, null);
 }
Exemplo n.º 6
0
 /// <remarks/>
 public void SendAsync(Mails mails)
 {
     this.SendAsync(mails, null);
 }