How to increase sending limit to 1,00,000/hour?

Hi Experts,

We have integrated Amazon SES as SMTP to send emails at a speed of 50,000msgs/hr.

But Phplist only processes about 2200msgs/hr.

We have hosted the phplist account on Microsoft Azure (VM).

We tried tweaking the settings in config.php and config_extended.php files but the sending speed never crossed 2200/hr.

We wanted to know if it is possible to deliver 100,000mails/hr through phplist.org?

If it is possible, then how should we do it?

Thanks,
Prajapati Bharat

1 Like

@bharat_prajapati You should use the amazon ses api interface instead of the smpt server as that will give a greater throughput. See https://www.phplist.com/?lid=515
There is an error on that documentation page, you need to change this line in your config.php file

define('PHPMAILERHOST', '');

not

define('PHPMAILER', 0);

Whether you can send 30/s will depend a lot on your server capacity.

1 Like

Hello,
I changed config.php according to your advice and stilll have about 5000 msgs/hr:

# AMAZON SES Settings

$message_envelope = 'sentmail@example.com'; // my sender email here

define('USE_AMAZONSES',1);

define('PHPMAILERHOST','');

define('AWS_ACCESSKEYID','access_key');
define('AWS_SECRETKEY','security_key');
define('AWS_POSTURL','https://email.us-west-2.amazonaws.com');

I also have these settings for batch:

define('MAX_PROCESS_MESSAGE', 99999);

define('PROCESSCAMPAIGNS_PARALLEL',1);

define('MAILQUEUE_BATCH_SIZE', 0);

define('MAILQUEUE_BATCH_PERIOD', 3600);

define('MAILQUEUE_THROTTLE', 0);

define('MAILQUEUE_AUTOTHROTTLE', 0);

Thanks in advance for the help.

What method were you using before the change, the SMTP?

You should upgrade to phplist 3.2.6 if you are on an earlier release, otherwise the send rate is the best that can be achieved. The rate will depend on your server capacity but also on how speedily Amazon SES responds.

Hello,

Thanks for the response.

I have the latest version: 3.2.6

Previously phplist didn’t have any AWS SES settings in the config.php.

This post was very helpful from OtherF, his settings worked fine for me and it is currently displaying the send rate at 24,000/hr.

Duncan,

is it supposed to be

define(‘PHPMAILERHOST’,‘’);

Not

define(‘PHPMAILERHOST’,‘0’);

And this sounds real elementary, but where

$message_envelope = ‘sentmail@example.com’; // my sender email here

everything after // is commented out. Do you put your outbound SES registered mail address in place of >sentmail@example.com

Also, your actual send rate is going to depend on how much compute capability and hosts/ports can be opened, especially when using the cloud.

1 Like

My hosting support changed some settings in their POSIX relay server and now I have ~18000msg/h.
And I don’t have any settings in config.php file that relates to AWS SES.:slight_smile: