SendTestBulkMailSyncronious

From Catglobe Wiki
Jump to: navigation, search

[Will obsolete soon and replace by BulkMail.SendBulkMail. More detail at ConversionMethods]

sendBulkMailSyncronious

Send a bulk mail specified by its id. it will wait until all email send

Syntax

sendTestBulkMailSyncronious(bulkMailId[,MaxToSend])

Arguments

bulkMailId: Is a numeric (non-decimal) expression. It is the id of the bulk mail.

maxToSend: Is a numeric (non-decimal) expression. It is the max email which send. -1 to send to all.


Return type

Number. Number of sentout

Example

sendTestBulkMailSyncronious(1);

sendTestBulkMailSyncronious(1,20);