Difference between revisions of "SendBulkMail"
(Add 3rd param) (Tag: visualeditor) |
|||
Line 8: | Line 8: | ||
'''Syntax''' | '''Syntax''' | ||
− | sendBulkMail(''bulkMailId''[,''MaxToSend'']) | + | sendBulkMail(''bulkMailId''[,''MaxToSend''[, schedule]]) |
'''Arguments''' | '''Arguments''' | ||
Line 14: | Line 14: | ||
''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. |
+ | |||
+ | ''schedule:'' Use the given schedule to send the mails see [[CatTaskInstantSchedule class]], defaults to instant. | ||
'''Return type''' | '''Return type''' | ||
Line 28: | Line 30: | ||
'''Availability''' | '''Availability''' | ||
− | Version 6.0. __NOTOC__ | + | Version 6.0. |
+ | |||
+ | __NOTOC__ | ||
<!-- imported from file: 3750.htm--> | <!-- imported from file: 3750.htm--> |
Revision as of 09:02, 30 May 2017
sendBulkMail
Send a bulk mail specified by its id.
Syntax
sendBulkMail(bulkMailId[,MaxToSend[, schedule]])
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.
schedule: Use the given schedule to send the mails see CatTaskInstantSchedule class, defaults to instant.
Return type
empty
Example
sendBulkMail(1);
sendBulkMail(1,20); // 20 is max number email
Availability
Version 6.0.