BulkMail countRecipients

From Catglobe Wiki
Revision as of 09:16, 20 December 2011 by Cg huyphong (talk | contribs)
Jump to: navigation, search


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