コード例 #1
0
ファイル: MessageAgent.asmx.cs プロジェクト: Klutzdon/PBIMSN
        public bool SendMail(string strSender, string strReceiver, string strCC, string strBcc, AttachFile[] AttachFiles, string strSubject, string strContent, bool bIsHtml, string strCreateBy, string strSysID)
        {
            try
            {
                HBIMSNService.LeoMsgSrv.Message leoMsg = new HBIMSNService.LeoMsgSrv.Message();
                return leoMsg.SendMail(strSender, strReceiver, strCC, strBcc, AttachFiles, strSubject, strContent, bIsHtml, strCreateBy, strSysID);

            }
            catch (Exception ex)
            {

                Common.General.JobLoger.Error(ex);
                return false;
                //  throw;
            }
        }
コード例 #2
0
ファイル: Reference.cs プロジェクト: Klutzdon/PBIMSN
 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]));
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: Klutzdon/PBIMSN
 /// <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);
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: Klutzdon/PBIMSN
 /// <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);
 }