# Parallel sending e-mails with Amazon API

**URL:** <https://forum.mautic.org/t/parallel-sending-e-mails-with-amazon-api/20129>\
**Category:** Product Support\
**Created:** [July 11, 2021, 6:38pm UTC](https://forum.mautic.org/t/parallel-sending-e-mails-with-amazon-api/20129 "2021-07-11T18:38:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [July 12, 2021, 1:25pm UTC](https://forum.mautic.org/t/parallel-sending-e-mails-with-amazon-api/20129/2 "2021-07-12T13:25:29Z")

</div>

Hey,

You can speed up sending, but giving such advice feels like telling someone how to drive with 200 km/hour.  
In the woods.  
With a skateboard.

Yes, you can set the 1 min limit for sending emails.  
This is what I use:  
`php mautic:emails:send --time-limit=47s --lock_mode=flock`  
Why 47 percent? because I run this every minute and my system needs 10 sec to start really processing. +3 sec is for safety.

Yes, you can have a different process select the same emails. But if you add a 15 sec delay on the second thread, then the risk is minimum. Do the force option too.  
This is the format:  
`command1 & sleep 15; command2 &`

+1 tip: you can also fill up the spool before sending, that helps. Cause spooling is usually 30% of the total time spent on sending.

By using this technique I managed to send REALLY FAST, however my deliverability went down. So use it with caution.

Read this great post for further creative - not safe at all - solutions:

> [@Mautic Command Options and Arguments](https://forum.mautic.org/t/mautic-command-options-and-arguments/18638):
>
> Threw together a quick and dirty list of cron/ssh commands with a list of options and the explanation. I got this info by running --help with the most commonly used commands. Update contacts in smart segments based on new contact data. mautic:segments:update [options] mautic:segments:rebuild Options: -b, --batch-limit[=BATCH-LIMIT] Set batch size of contacts to process per round. Defaults to 300. [default: 300] -m, --max-contacts[=MAX-CONTACTS] Set max number of contacts to process per s…

---

_[View the full topic](https://forum.mautic.org/t/parallel-sending-e-mails-with-amazon-api/20129)._
