Thank you for the module. It is working well for me so far.

I have been looking through the other issues and documentation but couldn't find it clearly stated.

My hosting plan has a limit of 1000 emails per day. If there are 2000 emails to be sent out, will Mass Contact wait until the next day to send out the last 1000?

I think it may have been mentioned on the main page about scaled emailing, but I couldn't make sense of it. Thank you for any assistance.

CommentFileSizeAuthor
#4 queue_mail.daily-limits.845116.patch4.68 KBlyricnz

Comments

oadaeh’s picture

This module does not have anything built into it to limit sending messages in that way.

Someone did post a patch, however, that uses the Job Queue module to achieve what it is you are looking for: #373893: Patch for send mails with job_queue

I have not tried it, so I have no idea how it works, or if it works.

ryan_courtnage’s picture

If you aren't interested in applying the patch, an alternative would be to install job_queue, and also install "Queue Mail" http://drupal.org/project/queue_mail.

Queue Mail "Queues any email sent from your Drupal site for the Job queue module, which in turn sends them via cron."

So should just work with Mass Contact auto-magically.

lyricnz’s picture

From what I can tell, neither of these suggestions will solve the original poster's problem: rate-limiting the sending of emails. They both just make the mail-sending asynchronous (ie: background, driven by job queue).

lyricnz’s picture

Status: Active » Needs review
StatusFileSize
new4.68 KB

I just wrote a patch to queue_mail that implements a simple limit on the number of emails that may be sent (per cron). See #1142056: Allow configured limits on the number of emails that may be sent, per period

Edit: ignore the patch here, look at the other issue.

oadaeh’s picture

Status: Needs review » Fixed

This, or something like this, has been added to the 7.x-1.x branch using the Drupal Queue API, and the 6.x-1.x branch using the Drupal Queue module (https://drupal.org/project/drupal_queue).

Look for the changes in the 7.x-1.x-dev tar.gz file dated after 2013-Jul-03, and the 6.x-1.x-dev tar.gz file dated after 2013-Mar-09.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.