In one of my module, i have created a checkbox on user account page. If user has checked that checkbox at that time an email is sent to all the user when any specific node is created. Lets say when any article node is created then all the users who has checked the checkbox will be notified by the email when node is posted.

Now for the scenario given below:

  1. Lets say if my site has 1000 users who has checked the checkbox/
  2. Simultaneously 10 users are creating the node.
  3. When only 10 users are creating the node simultaneously 1000 * 10 = 10000 emails will be sent at time.
  4. I am not sure whether site will able to handle it or not.

So i want the suggestion that is there any way to queue email and send them after certain intervals like 1000 mails after an hour, 1000 after second hour 1000 after 3rd hour and so on. Or any other nice solution.

I've never used it but the Queue Mail module purports to do exactly that:

Queues email sending from your site so that instead of being sent immediately it is sent on cron.

Useful for high traffic sites that can send a lot of emails on individual page requests.

It has the unusual properties of being both actively maintained, and bug report free at this time - so looks quite promising

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.