Jump to content

Limit Bulk Emails

Featured Replies

Posted

My host limits the sending of bulk emails to 200 within an hour, is there a way I can send a bulk email in batches? For example, send email to first 200 members, then maybe a few hours later send the same email to the next 200 members and so on...if not this might be a good feature to add in the future perhaps?

  • Community Expert

constants.php

define( 'BULK_MAILS_PER_CYCLE', 100 );

 

  • Author
 

constants.php

define( 'BULK_MAILS_PER_CYCLE', 100 );

 

I am confused, do I need to add this code to the constants php file? If so, does it matter where I add it? Also how would this work? It will just send emails out in batches of 100, how often? Also could you please tell me where I can locate this file? 

 

I have exactly the same problem with my server/emails at the moment. If I want to send an email to all our members (say giving details of a promotion/competition) can I change the forum settings so that any email sent is limited to sending 50 per hour? I have 3 thousand members so at the moment, no matter what settings I put in place on the server, the forum software seems to over ride that which crashes the server (which is a shared server) and puts me in breach of the hosting companies terms and conditions! Not good!

Any help much appreciated.

Dave

  • 3 months later...

This is now defined in init.php, the default is 50.

'BULK_MAILS_PER_CYCLE'				=> 50,

however I do not see an option to define the cycle. If anyone knows where that is, it would be appreciated.

 

I have exactly the same problem with my server/emails at the moment. If I want to send an email to all our members (say giving details of a promotion/competition) can I change the forum settings so that any email sent is limited to sending 50 per hour? I have 3 thousand members so at the moment, no matter what settings I put in place on the server, the forum software seems to over ride that which crashes the server (which is a shared server) and puts me in breach of the hosting companies terms and conditions! Not good!

Any help much appreciated.

Dave

I suggest my app for restrict how many email sent per time.

You could have many user that follow a forum or a specific topic that generate 100+ notification to send... consider there is another post and generate same notification load, your hosting plan limit it for guarantee the server mail stay healthy and the IP is not inserted into a blacklist.

 

You can restrict the number of emails sent per-cycle as noted above, but not how many are sent in a given time period. The task that sends emails can run as frequently as once per minute and process multiple "cycles" each minute.

The moral of the story is, if you have 3000 members and your host limits you to 50 emails per hour, you should invest in an alternate method of sending emails.

  • 4 months later...
 

The moral of the story is, if you have 3000 members and your host limits you to 50 emails per hour, you should invest in an alternate method of sending emails.

With PHP mail delivery method, for example?

 

With PHP mail delivery method, for example?

It depends on your host. Godaddy, for instance, limits how many emails (including via the php mail method) can be sent in an hour.

 

It depends on your host. Godaddy, for instance, limits how many emails (including via the php mail method) can be sent in an hour.

True. I comment about the limitation through SMTP.

But through php can also be limited

  • 2 months later...

In my case I have a doubt. My server on Amazon SES allows 200 mails / second, but many times I get error 

451 Timeout waiting for data from client.

If they are supposed to be sent in packages of 50,

 

in init.php, the default is 50.

then how can this error occur? Does anyone have any explanation?

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.