Mautic Community Forums

How to limit sending email

I can send no more than 9 emails per minute (using PHP). Also, I cannot exceed 100 emails/hour.



So I need do send 8 emails from 5 in 5 minutes, a total of 96 emails per hour. How can I configure Maultic with this routine correctly?




My “Email settings” are configure like this:

How should email be handled? QUEUE

Message limit for queue processing: 8

Time limit for queue processing: 300

Recovery timeout for resending failed messages: 1020

Clear timeout for deleted failed messages.: 1920




This is correct?



My Cron Jobs configured are:



15 minutes

Webhooks

/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:webhooks:process



10 minutes

To keep the segments current:

/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:segments:update



To keep campaigns updated with applicable contacts:

/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:campaigns:update



To execute campaigns events:

/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:campaigns:trigger --force --batch-limit=4 --max-events=4

(I need to configure trigger like that?)





5 minutes

Process Email Queue

/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:email:process





1h

Fetch and Process Monitored Email

/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:fetch:email



Update MaxMind GeoLite2 IP Database

/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:iplookup:download





There is anything more that I need to do?

[b]I can send no more than 9 emails per minute (using PHP). Also, I cannot exceed 100 emails/hour.

So I need do send 8 emails from 5 in 5 minutes, a total of 96 emails per hour. How can I configure Maultic with this routine correctly?[/b]

My “Email settings” are configure like this:
How should email be handled? QUEUE
Message limit for queue processing: 8
Time limit for queue processing: 300
Recovery timeout for resending failed messages: 1020
Clear timeout for deleted failed messages.: 1920

This is correct?

My Cron Jobs configured are:

15 minutes
Webhooks
/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:webhooks:process

10 minutes
To keep the segments current:
/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:segments:update

To keep campaigns updated with applicable contacts:
/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:campaigns:update

To execute campaigns events:
/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:campaigns:trigger --force --batch-limit=4 --max-events=4
(I need to configure trigger like that?)

5 minutes
Process Email Queue
/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:email:process

1h
Fetch and Process Monitored Email
/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:fetch:email

Update MaxMind GeoLite2 IP Database
/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:iplookup:download

There is anything more that I need to do?

But I need to configure Cron Jog Campaing Trigger like that or there is no need?

/usr/local/cpanel/3rdparty/bin/php /home/feascomb/public_html/lembrete/app/console mautic:campaigns:trigger --force [quote]–batch-limit=4 --max-events=4[/quote]

The question is, I need to set up this cron job like this?

Hi! You have any success?

I want to send 7 emails/minute. I cannot exceed 500 emails/hour.

And I don’t know how to setup.