WS_MailUpSend.GetNewsletterDeliveryStatus

Returns information about sending status

Method parameters

  • string GetNewsletterDeliveryStatus(string accessKey, intdeliveryID)

If error code=0, the message will contain the sending status

Sample GetNewsletterDeliveryStatus responses

Scheduled sending

<GetNewsletterDeliveryStatusResult>
<erroCode>0</erroCode>
<erroDescription></erroDescription>
<deliveryStatus>
<deliveryID>1576</deliveryID>
<listID>157</listID>
<newsletterID>1126</newsletterID>
<status>SCHEDULED</status>
<details>Delivery will start on 24/07/2009 9:30:00</details>
<toSend>4</toSend>
<toBeSent>0</toBeSent>
<progress>0</progress>
<estimatedTime>0d 00h 01m 58s</estimatedTime>
</deliveryStatus>
</GetNewsletterDeliveryStatusResult>

Sending in progress

<GetNewsletterDeliveryStatusResult>
<erroCode>0</erroCode>
<deliveryStatus>
<deliveryID>125</deliveryID>
<listID>1</listID>
<newsletterID>47</newsletterID>
<status>SENDING</status>
<details> </details>
<toSend>100</toSend>
<toBeSent>80</toBeSent>
<progress>20</progress>
<estimatedTime>0d 1h 33m 12s</estimatedTime>
</deliveryStatus>
</GetNewsletterDeliveryStatusResult>

Completed sending

<GetNewsletterDeliveryStatusResult>
<erroCode>0</erroCode>
<erroDescription></erroDescription>
<deliveryStatus>
<deliveryID>1578</deliveryID>
<listID>157</listID>
<newsletterID>1071</newsletterID>
<status>COMPLETED</status>
<details>Started at: 23/07/2009 12:06:18, Completed at: 23/07/2009 12:06:18</details>
<toSend>1</toSend>
<toBeSent>0</toBeSent>
<progress>100</progress>
<estimatedTime>0d 00h 00m 00s</estimatedTime>
</deliveryStatus>
</GetNewsletterDeliveryStatusResult>