Difference between revisions of "BulkMail save"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Email_and_SMS_Functions]]
 

 

  

Revision as of 05:27, 22 March 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