Difference between revisions of "BulkMail save"
(jrfconvert import) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Email_and_SMS_Functions]] |
− | | + | {{HelpFiles}} |
====BulkMail_save==== | ====BulkMail_save==== |
Latest revision as of 09:02, 12 December 2011
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