Exemple #1
0
 /// <remarks/>
 public void SendMailAsync(string strSender, string strReceiver, string strCC, string strBcc, AttachFile[] AttachFiles, string strSubject, string strContent, bool bIsHtml, string strCreateBy, string strSysID, object userState) {
     if ((this.SendMailOperationCompleted == null)) {
         this.SendMailOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendMailOperationCompleted);
     }
     this.InvokeAsync("SendMail", new object[] {
                 strSender,
                 strReceiver,
                 strCC,
                 strBcc,
                 AttachFiles,
                 strSubject,
                 strContent,
                 bIsHtml,
                 strCreateBy,
                 strSysID}, this.SendMailOperationCompleted, userState);
 }
Exemple #2
0
 public bool SendMail(string strSender, string strReceiver, string strCC, string strBcc, AttachFile[] AttachFiles, string strSubject, string strContent, bool bIsHtml, string strCreateBy, string strSysID) {
     object[] results = this.Invoke("SendMail", new object[] {
                 strSender,
                 strReceiver,
                 strCC,
                 strBcc,
                 AttachFiles,
                 strSubject,
                 strContent,
                 bIsHtml,
                 strCreateBy,
                 strSysID});
     return ((bool)(results[0]));
 }
Exemple #3
0
 /// <remarks/>
 public void SendMailAsync(string strSender, string strReceiver, string strCC, string strBcc, AttachFile[] AttachFiles, string strSubject, string strContent, bool bIsHtml, string strCreateBy, string strSysID) {
     this.SendMailAsync(strSender, strReceiver, strCC, strBcc, AttachFiles, strSubject, strContent, bIsHtml, strCreateBy, strSysID, null);
 }