Email and SMS Functions/sendTestBulkMail

From Catglobe Wiki
Jump to: navigation, search

sendTestBulkMail

Send test bulk mail specified by its id.

Syntax

sendTestBulkMail(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});

sendTestBulkMail(bulkid);

Availability

Version 6.0.