Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 08:02, 12 December 2011 by Cg_pham (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



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