By Sergio Beristain on
Regarding the dev on: http://drupal.org/node/28604
Hi all,
So far Gerhard and otherss want to queue mails so that they do not take all of the resources of the server. Although this idea will help those who send newsletters that are can be sent later at night it does not help those who need to send the mail immediately.
In my particular case, users who are press agencies measure the time in minutes if not seconds. Therefore, while optimising resources is good, in my case is the least of my priorities.
This is why I think that administrators or developers should be given the option to send mass mails immediately.
Comments
Email Traffic Cop
I'd prefer mail.inc to keep track of mail resources, rather than deal directly with emails.
A module wants to send X number of emails out, it asks mail.inc how many can still be sent out (based on a system wide limit per cron run or per hour), and based on this sends out as many as it's allowed to.
To keep track of what has been sent, the module calls a mail.inc function for each email which records the send in the database.
------------------------------------------
Drupal Specialists: Consulting, Development & Training
Robert Castelo, CTO
Code Positive
London, United Kingdom
----