Difference between revisions of "SendBulkMail"

From Catglobe Wiki
Jump to: navigation, search
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
[[Category:Email_and_SMS_Functions]]
 
[[Category:Email_and_SMS_Functions]]

+
[Will obsolete soon and replace by [[BulkMail_class|BulkMail.Send]]. More detail at [[ConversionMethods|ConversionMethods]]]
 
+
==== sendBulkMail ====
====sendBulkMail====
 
  
 
Send a bulk mail specified by its id.
 
Send a bulk mail specified by its id.
Line 8: Line 7:
 
'''Syntax'''
 
'''Syntax'''
  
sendBulkMail(''bulkMailId'')
+
sendBulkMail(''bulkMailId''[,''MaxToSend''])
  
 
'''Arguments'''
 
'''Arguments'''
  
 
''bulkMailId:'' Is a numeric (non-decimal) expression. It is the id of the bulk mail.
 
''bulkMailId:'' Is a numeric (non-decimal) expression. It is the id of the bulk mail.
 +
 +
''maxToSend:'' Is a numeric (non-decimal) expression. It is the max email which send. -1 to send to all.
  
 
'''Return type'''
 
'''Return type'''
  
empty
+
Number.Return Cattask InstanceId
  
 
'''Example'''
 
'''Example'''
  
 
sendBulkMail(1);
 
sendBulkMail(1);
 +
 +
sendBulkMail(1,20); // 20 is max number email
  
 
'''Availability'''
 
'''Availability'''
  
Version 5.4.
+
Version 6.0. maxSend from Nov. 2016
 +
 
 
__NOTOC__
 
__NOTOC__
 
<!-- imported from file: 3750.htm-->
 
<!-- imported from file: 3750.htm-->

Latest revision as of 03:18, 13 May 2022

[Will obsolete soon and replace by BulkMail.Send. More detail at ConversionMethods]

sendBulkMail

Send a bulk mail specified by its id.

Syntax

sendBulkMail(bulkMailId[,MaxToSend])

Arguments

bulkMailId: Is a numeric (non-decimal) expression. It is the id of the bulk mail.

maxToSend: Is a numeric (non-decimal) expression. It is the max email which send. -1 to send to all.

Return type

Number.Return Cattask InstanceId

Example

sendBulkMail(1);

sendBulkMail(1,20); // 20 is max number email

Availability

Version 6.0. maxSend from Nov. 2016