Difference between revisions of "BulkMail countRecipients"
Cg huyphong (talk | contribs) |
|||
Line 4: | Line 4: | ||
====BulkMail_countRecipients==== | ====BulkMail_countRecipients==== | ||
− | Count the number of recipients | + | Count the number of recipients whom the bulk mail is not sent to |
'''Syntax''' | '''Syntax''' | ||
Line 20: | Line 20: | ||
'''Example''' | '''Example''' | ||
− | + | number bmId = 8637; | |
+ | |||
+ | string guid = getResourceGuid(Resource_Type_BulkMail, bmId); | ||
+ | |||
+ | number bmRId = getResourceUniqueIdFromGuid(guid); | ||
+ | |||
+ | number n = BulkMail_countRecipients(bmRId); | ||
+ | |||
+ | print(n); | ||
'''Availability''' | '''Availability''' |
Revision as of 08:16, 20 December 2011
BulkMail_countRecipients
Count the number of recipients whom the bulk mail is not sent to
Syntax
BulkMail_countRecipients(bulkMailResourceId)
Arguments
- bulkMailResourceId: is a number expression. It is the bulk mail's resource id
Return value
number
Example
number bmId = 8637;
string guid = getResourceGuid(Resource_Type_BulkMail, bmId);
number bmRId = getResourceUniqueIdFromGuid(guid);
number n = BulkMail_countRecipients(bmRId);
print(n);
Availability
Version 5.6