# Email Delivery Issues

**URL:** <https://forum.mautic.org/t/email-delivery-issues/5527>\
**Category:** Product Support\
**Created:** [October 1, 2016, 4:52pm UTC](https://forum.mautic.org/t/email-delivery-issues/5527 "2016-10-01T16:52:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dez](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@Dez](https://forum.mautic.org/u/Dez)\
**Post date:** [October 1, 2016, 4:52pm UTC](https://forum.mautic.org/t/email-delivery-issues/5527/1 "2016-10-01T16:52:28Z")

</div>

Hi Team,  
  
  
  
I have spent 15 hours trying to get Mautic to deliver an email from a campaign with no luck (gone through many forum support posts as well).  
  
  
  
Firstly here’s what works:

- Contact entered into form are coming into contacts fine  
- I can send an email via SES to individual contacts (so SES is working)  
- SES connection tested and working - received “Mautic Testing email”  
- Amazon SES is out of sandbox and account approved.  
  
  
  
I have the following 3 crons set up:  
  
[path data removed for this post]/app/console mautic:campaigns:trigger  
  
[path data removed for this post]/app/console mautic:segments:update  
  
[path data removed for this post]/app/console mautic:campaigns:rebuild  
  
  
  
Ensure php and cron paths are correct (with hosting company). I get emails when the cron runs e.g.:  
  
  
  
Email 1:  
  
#!/usr/bin/env php  
  
Rebuilding contacts for segment 1  
  
0 total contact(s) to be added in batches of 300  
  
total contact(s) to be removed in batches of 300  
  
0 contact(s) affected  
  
  
  
and  
  
  
  
Email 2:  
  
#!/usr/bin/env php  
  
Script in progress. Use -f or --force to force execution.  
  
  
  
I am stumped and believe it must be one of the following causing an issue:  
  
  

1. Campaign set up incorrectly - I have set up a simple campaign. When someone complete a form, send an email immediately.  
  
  
2. Something not working with cron?  
  
  
3. Something linked to this error log?  
  
PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 23076864 bytes) in /home/bestsellerxp/buzz/vendor/joomla/http/src/Transport/Curl.php on line 172  
  
  
  
I’d really appreciate help with this - so desperate to use Mautic!  
  
  
  
Thanks,

---

<div class="post-metadata">

**Author:** ![Dez](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@Dez](https://forum.mautic.org/u/Dez)\
**Post date:** [October 2, 2016, 7:17pm UTC](https://forum.mautic.org/t/email-delivery-issues/5527/2 "2016-10-02T19:17:41Z")

</div>

Thanks @ninjoan. I reduced the cron time to 1 minute to see what it would do, but no luck. I am not seeing any reference to the campaign running on the contact’s file (“event name” etc).

---

<div class="post-metadata">

**Author:** ![Dez](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@Dez](https://forum.mautic.org/u/Dez)\
**Post date:** [October 1, 2016, 4:52pm UTC](https://forum.mautic.org/t/email-delivery-issues/5527/3 "2016-10-01T16:52:28Z")

</div>

Hi Team,

I have spent 15 hours trying to get Mautic to deliver an email from a campaign with no luck (gone through many forum support posts as well).

Firstly here’s what works:

- Contact entered into form are coming into contacts fine
- I can send an email via SES to individual contacts (so SES is working)
- SES connection tested and working - received “Mautic Testing email”
- Amazon SES is out of sandbox and account approved.

I have the following 3 crons set up:  
[path data removed for this post]/app/console mautic:campaigns:trigger  
[path data removed for this post]/app/console mautic:segments:update  
[path data removed for this post]/app/console mautic:campaigns:rebuild

Ensure php and cron paths are correct (with hosting company). I get emails when the cron runs e.g.:

Email 1:  
#!/usr/bin/env php  
Rebuilding contacts for segment 1  
0 total contact(s) to be added in batches of 300  
total contact(s) to be removed in batches of 300  
0 contact(s) affected

and

Email 2:  
#!/usr/bin/env php  
Script in progress. Use -f or --force to force execution.

I am stumped and believe it must be one of the following causing an issue:

1. Campaign set up incorrectly - I have set up a simple campaign. When someone complete a form, send an email immediately.

2. Something not working with cron?

3. Something linked to this error log?  
PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 23076864 bytes) in /home/bestsellerxp/buzz/vendor/joomla/http/src/Transport/Curl.php on line 172

I’d really appreciate help with this - so desperate to use Mautic!

Thanks,

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [October 2, 2016, 4:00pm UTC](https://forum.mautic.org/t/email-delivery-issues/5527/4 "2016-10-02T16:00:21Z")

</div>

[path data removed for this post]/app/console mautic:campaigns:trigger is the one that send the campaigns and what is your cron time?
