-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
ReduceMailQueue
Description
Sends a bunch of emails from the queue
Syntax
bool ReduceMailQueue ([mixed $number, bool $override_limit, bool $force_send])
Parameter $number
Expected type: Mixed
Description: How many to send
Allowed types for $number Allowed values Description Boolean False to use the default settings Integer A specific number of emails to send
Parameter $override_limit
Expected type: Boolean
Description: Whether or not to override the limit of how many to send at once
Parameter $force_send
Expected type: Boolean
Description: Send the messages now instead of waiting based on the settings
Return value
Expected type: Boolean
Description: True when finished, false otherwise
Notes
- Handles using a cron job and another script to send the emails ("mail_queue_use_cron" setting)
- If a number isn't specified, uses "mail_quantity" setting or defaults to 5 if that isn't set
- Will attempt to send the next message up to 5 times before giving up for a bit
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.133 seconds with 13 queries.
- Forum Search