SendTestBulkMail

From Catglobe Wiki
Revision as of 03:19, 13 May 2022 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

sendTestBulkMail

Send a bulk mail specified by its id.

Syntax

sendTestBulkMail(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.Return Cattask Instance Id

Example

sendTestBulkMail(1);

sendTestBulkMail(1,20); // 20 is max number email