BulkMail getUserResourceIdsForSent

From Catglobe Wiki
Jump to: navigation, search


BulkMail_getUserResourceIdsForSent

return a array which contains Users Ids were sent email within a specific time period

Syntax

BulkMail_getUserResourceIdsForSent(bMResourceId,sSentDate,eSentDate)

Arguments

  • bMResourceId: is number. It is bulkMail resource id
  • sSentDate: is date time array.
  • eSentDate: is date time array.

Return value

array

Examples

number bRsId = 15540904;
array startDate = {2016,06,29,0,0,0,394,43,0};
array endDate =  {2016,06,30,23,59,59,394,43,0};
array listUsers = BulkMail_getUserResourceIdsForSent(bRsId,startDate,endDate);
print(listUsers);
//Result:
{11737,79572,171837,182532,187534,382459,411736,525909,537715,583201,668759,858130}