We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Send email rate limited? [Answered] | Forum

Topic location: Forum home » Support » General Questions
fbkca
fbkca Sep 11 '13
Hi, 


I'm curious if there is anything in place to control the amount of emails being sent? As you all know, the majority of the big email providers only accept a certain amount of mail from one source per hour etc...


Does any mail get queued and then cron sends X amount of mails each run?


Thanks

The Forum post is edited by Alia Sep 16 '13
fbkca
fbkca Sep 12 '13
For instance, If I want to send an email to free members (32,000) of them about a discount and I use the mass mailer. When I click "Start mailing" does it right then try and send 32,000 mails???. I really hope that isn't the case.
Purusothaman Ramanujam
Not possible with any direct settings. The number of emails is hard-coded in the code.
fbkca
fbkca Sep 13 '13
What I'm trying to find out is. How is the number of emails Oxwall is sending controlled? Or is there no control?


I just don't want to be banned from the major email providers for violating their email policies. 


So are you saying there is a fixed number of email Oxwall will send on each cron run?

Purusothaman Ramanujam
Yes.

For every 5 minutes, 50 emails will be sent.

If you want to change that, change the code as below.

File: ow_system_plugins\base\cron.php

BOL_MailService::getInstance()->processQueue();

to

BOL_MailService::getInstance()->processQueue(10);

This will send 10 mails for every 5 minutes.

The Forum post is edited by Purusothaman Ramanujam Sep 16 '13
fbkca
fbkca Sep 16 '13
Fantastic, thank you!