/// <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); }
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])); }
/// <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); }