Email and SMS Functions/sendTestBulkMailSyncronious

From Catglobe Wiki
Revision as of 10:05, 17 May 2016 by Phamhuuphucgopenid (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

sendTestBulkMailSyncronious

Send test bulk mail specified by its id.

Syntax

sendTestBulkMailSyncronious(bulkMailId)

Arguments

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

Return type

empty

Example

array b= BulkMail_new("Test bulk mail by cgs 15052016 1", 15525384, 15525386);

BulkMail_save(b);

number bulkid=getResourceIdFromGuid(getResourceGuid(b[BULKMAIL_RESOURCE_ID]));

setBulkMailUsers(bulkid,{90279305});

sendTestBulkMailSyncronious(bulkid);

Availability

Version 6.0.