SendBulkMailSyncronious

From Catglobe Wiki
Revision as of 06:31, 16 January 2018 by Nguyenduyan (talk | contribs)
Jump to: navigation, search

sendBulkMailSyncronious

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

Syntax

sendBulkMailSyncronious(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

sendBulkMailSyncronious(1);

sendBulkMailSyncronious(1,20);