Difference between revisions of "BulkMail countRecipients"

From Catglobe Wiki
Jump to: navigation, search
Line 4: Line 4:
 
====BulkMail_countRecipients====
 
====BulkMail_countRecipients====
  
Count the number of recipients when the bulk mail is sent (without sending it)
+
Count the number of recipients whom the bulk mail is not sent to
  
 
'''Syntax'''
 
'''Syntax'''
Line 20: Line 20:
 
'''Example'''
 
'''Example'''
  
''number n = BulkMail_countRecipients(12345);''
+
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 09: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