BulkMail save
BulkMail_save
Save bulk mail
Syntax
BulkMail_save(bulkMailObject)
Arguments
bulkMailObject: is an array. (refer to BulMail_new function to see bulkMailObject)
Return type
empty
Example
string bulkMailName = "TestBulkMail";
number parentResourceId = 34778803;
number mailTemplateResourceId = 501537;
array newBM = BulkMail_new(bulkMailName, parentResourceId, mailTemplateResourceId);
array userResourceIds = {34779312};
array groupResourceIds = {34780089};
newBM[BULKMAIL_USER_RESOURCE_IDS] = userResourceIds;
newBM[BULKMAIL_GROUP_RESOURCE_IDS] = groupResourceIds;
BulkMail_save(newBM);
Availability
Version 5.8