MantisBT: master 17858aee

Author Committer Branch Timestamp Parent
dregad dregad master 2012-11-29 05:15 master e7509154
Affected Issues  0015248: The order of sending emails is inverted when using cron
Changeset

Make email_send_all() send older queued messages first

To achieve this, a new optional parameter was added to function
email_queue_get_ids() to specify the desired sort order (defaults to
'DESC' to ensure no change in behavior).

email_send_all() now retrieves the list of emails to send in ascending
order.

Fixes 0015248

mod - core/email_api.php Diff File
mod - core/email_queue_api.php Diff File