Why does Magento limit Newsletter sending to 20?

by Vaishal Patel   Last Updated January 12, 2018 23:09 PM

I am currently midst sending a newsletter to 12782 subscribers, it has been going since 3:00am this morning and now it is 22:41, but has only sent 4740 emails.

Investigating further it has come to my attention that the rate has been limited to 20 here:

 public function scheduledSend($schedule)
{
    $countOfQueue  = 3;
    $countOfSubscritions = 20;

    /** @var Mage_Newsletter_Model_Resource_Queue_Collection $collection */
    $collection = Mage::getModel('newsletter/queue')->getCollection()
        ->setPageSize($countOfQueue)
        ->setCurPage(1)
        ->addOnlyForSendingFilter()
        ->load();

     $collection->walk('sendPerSubscriber', array($countOfSubscritions));
}

In app\code\core\Mage\Newsletter\Model\Observer.php

I have tried searching online but cannot find why there is such a limit.

Moreover, not sure if it has a contributing factor but my cron and smtp pro settings are as such:

Cron Settings

Smtp pro settings



Answers 2


Because those are just default settings for basic setup.

If you want to send much more than that without being pegged as spam and blacklisted, then you'll want to be sure spf records at a minimum are in place.

Mxtoolbox.com, or comodo.com is a good place to start.

Jeff Keller
Jeff Keller
January 12, 2018 23:58 PM

About why there is a limit: Because you shouldn't send 12k mails from your web server at once. One of the reasons is, that an excessive mail traffic is one of the best indicators for a spamming system/server (many more factors are considered though). In general it is a better practice to outsource huge mail campaigns to tools and servers that are actually made for this - a common web server usually isn't - or at least relay via one (in that case you may as well consider increasing the send rate to a value confirmed with your server admin).

About why it is 3/20: I not able to answer why it would be set to exactly to that - however, when considering that a server is usually not only sending newsletters and furthermore usually not only sending mails for one vhost, it makes sense to keep the limit low to reduce the risk of getting the server's IP blacklisted.

Christoph Farnleitner
Christoph Farnleitner
January 13, 2018 00:02 AM

Related Questions


Why does the cron.sh ignoring task times?

Updated February 26, 2016 05:04 AM

AOE Cronjob not working

Updated July 04, 2016 08:03 AM

Specific crons never scheduled

Updated February 23, 2018 02:09 AM

Cron Constantly Running

Updated May 24, 2015 22:03 PM