Many web-hosts have limits on the number of emails that may be sent, before the site is considered spamming. For example 200/hour, or similar. It would be good if this module could support such a limit, and send queued emails over as long a period of time as required. Moreover, we need some sort of priority between
The typical use case is when a newsletter has to be send.
A patch has been proposed for Drupal 6, but there is nothing to limit this rate in Drupal 7. What I propose is the following:
Patch 1. Use a minimum waiting time between two sent emails using the Drupal locking mechanism
Patch 2. Define multiple queues to have different priorities for emails (e.g. password information should be sent before newsletters)
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2165023-5.add-wait-time.patch | 2.74 KB | jrb |
| #1 | 0001-Implemented-a-waiting-time-between-emails-in-queue.patch | 3.67 KB | bpiwowar |
Comments
Comment #1
bpiwowar commentedComment #2
tboyd@commplus.ca commentedI have a service provider who limits the number of mass emails to be sent to 500 per hour. Will this patch to queue mail address this issue and if yes, to what file do I add the patch?
Comment #3
steven jones commentedYes, this patch will probably help you.
You can find instructions for generally applying patches here:
https://drupal.org/patch/apply
Comment #4
göran commentedWould be grate if this patch could be updated so it work on the latest version 1.5 and above.
The patch seams to be to old and will not apply on Queue Mail version 1.5
Comment #5
jrbThere hasn't been any work on the Drupal 7 version of this issue in several years. Attached is a patch that implements this same thing for the Drupal 8 version.
Comment #7
sinn commentedComment #8
sinn commentedFor tracking D7 version please use ticket https://www.drupal.org/project/queue_mail/issues/2294445.