Beispiel #1
0
 /// <remarks/>
 public void getEmailSummaryAsync(MailJobIDRequest getEmailSummaryRequest, object userState) {
     if ((this.getEmailSummaryOperationCompleted == null)) {
         this.getEmailSummaryOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetEmailSummaryOperationCompleted);
     }
     this.InvokeAsync("getEmailSummary", new object[] {
                 getEmailSummaryRequest}, this.getEmailSummaryOperationCompleted, userState);
 }
Beispiel #2
0
 /// <remarks/>
 public void getEmailSummaryAsync(MailJobIDRequest getEmailSummaryRequest) {
     this.getEmailSummaryAsync(getEmailSummaryRequest, null);
 }
Beispiel #3
0
 /// <remarks/>
 public void getClicksPerLinkInHtmlByMailJobIdAsync(MailJobIDRequest getClicksPerLinkInHtmlByMailJobIdRequest) {
     this.getClicksPerLinkInHtmlByMailJobIdAsync(getClicksPerLinkInHtmlByMailJobIdRequest, null);
 }
Beispiel #4
0
 /// <remarks/>
 public void getClicksPerLinkInHtmlByMailJobIdAsync(MailJobIDRequest getClicksPerLinkInHtmlByMailJobIdRequest, object userState) {
     if ((this.getClicksPerLinkInHtmlByMailJobIdOperationCompleted == null)) {
         this.getClicksPerLinkInHtmlByMailJobIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetClicksPerLinkInHtmlByMailJobIdOperationCompleted);
     }
     this.InvokeAsync("getClicksPerLinkInHtmlByMailJobId", new object[] {
                 getClicksPerLinkInHtmlByMailJobIdRequest}, this.getClicksPerLinkInHtmlByMailJobIdOperationCompleted, userState);
 }
Beispiel #5
0
       /// <summary>
       /// get email summary.
       /// </summary>
       /// <param name="mailJobId"></param>
       /// <returns></returns>
        public EmailSummary getEmailSummary(String mailJobId)
        {
            cn.tripolis.dialogue.reporting.EmailSummary result = null;
            if (logger.IsDebugEnabled)
            {
                logger.Debug("getEmailSummary:mailJobId=" + mailJobId);
            }
            MailJobIDRequest request = new MailJobIDRequest();
            try
            {
                request.mailJobId = mailJobId;
                EmailSummaryResponse response = reportingService.getEmailSummary(request);
                if (response != null)
                {
                    result = response.emailSummary;
                }

            }
            catch (System.Web.Services.Protocols.SoapException ex)
            {
                throw new Exception(ex.Detail.InnerXml);
            }
            return result;
        }