Difference between revisions of "SendBulkMailSyncronious"

From Catglobe Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 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.SendSyncronious()]]. More detail at [[ConversionMethods|ConversionMethods]]]   
 
==== sendBulkMailSyncronious ====
 
==== sendBulkMailSyncronious ====
  
Line 6: Line 7:
 
'''Syntax'''
 
'''Syntax'''
  
sendBulkMailSyncronious(''bulkMailId'')
+
sendBulkMailSyncronious(''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.
  
 
<br/>'''Return type'''
 
<br/>'''Return type'''
Line 20: Line 23:
 
sendBulkMailSyncronious(1);
 
sendBulkMailSyncronious(1);
  
<br/>'''Availability'''
+
sendBulkMailSyncronious(1,20);
 
 
Version 6.0. __NOTOC__
 
<!-- imported from file: 3750.htm-->
 

Latest revision as of 03:18, 13 May 2022

[Will obsolete soon and replace by BulkMail.SendSyncronious(). More detail at ConversionMethods]

sendBulkMailSyncronious

Send a bulk mail specified by its id. it will wait until all email send

Syntax

sendBulkMailSyncronious(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. Number of sentout

Example

sendBulkMailSyncronious(1);

sendBulkMailSyncronious(1,20);