# AWS SES Smtp - Campaign email sending not working

**URL:** <https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063>\
**Category:** Product Support\
**Tags:** mautic-3\
**Created:** [September 29, 2021, 1:03pm UTC](https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063 "2021-09-29T13:03:04Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilseb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ilseb/32/2346_2.png) [@ilseb](https://forum.mautic.org/u/ilseb)\
**Post date:** [September 29, 2021, 1:03pm UTC](https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063/1 "2021-09-29T13:03:04Z")

</div>

**Your software**  
My Mautic version is: v3.3.4  
My PHP version is: 7.3.27  
My Database type and version is: MySql not sure about the version

**Your problem**  
My problem is: I cannot get AWS SES SMTP campaign email to work. the following tasks has been completed:

1. Email configured successfully: (smtp with send immediately)  

2. Success: Email direct to user from contact list

3. Success: Test segment email

4. Success: Segment email (im still in SES sandbox but for testing purposes verified my test emails to make sure the process works)

5. Fail: Campaign email

Campaign details:

- Campaign created:

1. complete website form: contact successfully added
2. update contact points: succesfully update contact points because they filled in the form
3. send demo request email: no email sent; no error on system info observed

The following was also checked:

- domain is verified on SES
- email template sent sample
- watched joeyK’s how email works ; read multiple threads and the user manual with no luck yet

Please can someone point me in a direction to troubleshoot?

thanks alot

---

<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:** [September 29, 2021, 4:03pm UTC](https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063/2 "2021-09-29T16:03:17Z")

</div>

When you pull up the contact who supposed to get the email - do you see the email sent to him in the events log?  
Looks like this:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/9/920caa72153ba2540cf60e0660bc9d6e3924bf81.png)

Also - does the person in the campaign also have the sendbox approved email?

---

<div class="post-metadata">

**Author:** ![ilseb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ilseb/32/2346_2.png) [@ilseb](https://forum.mautic.org/u/ilseb)\
**Post date:** [September 29, 2021, 4:46pm UTC](https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063/3 "2021-09-29T16:46:59Z")

</div>

1. No email sent shows in the event log
2. yes, the person has a “verified email” address in SES sandbox

---

<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:** [September 29, 2021, 4:50pm UTC](https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063/4 "2021-09-29T16:50:11Z")

</div>

You need to figure out why the email not considered for sending.

- Are the campaign actions stuck before the email step?
- Was the email step added after the contact already went through the campaign?
- Is the email not published?
- Has the person unsubscribed?
- Has the person bounced?
- Has the person left the campaign before the step, is he a member of the campaign still?

---

<div class="post-metadata">

**Author:** ![ilseb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ilseb/32/2346_2.png) [@ilseb](https://forum.mautic.org/u/ilseb)\
**Post date:** [September 29, 2021, 5:11pm UTC](https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063/5 "2021-09-29T17:11:10Z")

</div>

- Are the campaign actions stuck before the email step?  
**- events before email all work** \*

- Was the email step added after the contact already went through the campaign?  
**no, campaign was created, and contact only added post campaign creation - im new with the platform and its my first campaign im creating**

- Is the email not published?  
**email is published, as well as start & end date set and within range**  

- Has the person unsubscribed?  
**no, the email used for testing is my own gmail account - i have not yet got to the process of setting up unsubscribe and tracking url on the email**

- Has the person bounced?  
**im not sure, i dont think so as this is not something i have setup yet. looking at the SES dashboard i dont see any bounces, it shows "healthy"**

- Has the person left the campaign before the step, is he a member of the campaign still?  
**still a member yes**

To add, it does show pending tasks here which im not 100% sure why - as the " RequestForDemoEmail" is where im not seeing the email being sent currently and where its getting stuck

 ![Screenshot 2021-09-29 at 19.10.10](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/1/1933c495d32c8dd4cde5e738de167e3644bb5bff.png)

---

<div class="post-metadata">

**Author:** ![ilseb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ilseb/32/2346_2.png) [@ilseb](https://forum.mautic.org/u/ilseb)\
**Post date:** [September 29, 2021, 6:15pm UTC](https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063/6 "2021-09-29T18:15:56Z")

</div>

here is my cronjobs too:

 ![Screenshot 2021-09-29 at 20.15.23](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/c/cb6107e6ed662f43da74feaf34a5ff0bb7081306.png)

---

<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:** [September 30, 2021, 4:57am UTC](https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063/7 "2021-09-30T04:57:48Z")

</div>

It seems, that none of these actions are executed. Do you have a decision at the beginning?  
Thx

---

<div class="post-metadata">

**Author:** ![ilseb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ilseb/32/2346_2.png) [@ilseb](https://forum.mautic.org/u/ilseb)\
**Post date:** [September 30, 2021, 5:10am UTC](https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063/8 "2021-09-30T05:10:38Z")

</div>

HI, thanks so much for working with me through this one.

No, i dont have a decision at the beginning, here is is a screenie of the flow: it starts with a form, then sends a mail .

 ![Screenshot 2021-09-30 at 07.05.27](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/3/3fc01860aea006c13d73ab0372fd4f7294504a06.png)

i created a further test campaign, with the same result: simple form, then email:

- created the form
- selected form as first campaign item
- send email to contact (nothing happens)

heres some screenshots of it:

 ![Screenshot 2021-09-30 at 07.09.11](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/9/99a3f08b51f61b7ebba090c1a977f02d688c27da.png)  
 ![Screenshot 2021-09-30 at 07.08.51](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/29aed474c6797b04d2b020f53b1dfa62dbf54980.png)  
 ![Screenshot 2021-09-30 at 07.08.38](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/1/1d596261fd9281f4639524081ea2630208a1121a.png)

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [September 30, 2021, 6:39pm UTC](https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063/9 "2021-09-30T18:39:06Z")

</div>

@ilseb look in your-mautic-install/var/spool and see if there are any emails in your spool. If so use the **swiftmailer:spool:send** command via CLI or a cron

---

<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:** [October 1, 2021, 4:46am UTC](https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063/10 "2021-10-01T04:46:38Z")

</div>

In fact the best would be if you could run each of your cron commands by ssh, and see if some oone them fail. Remove the ending (dev/null)

---

<div class="post-metadata">

**Author:** ![ilseb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ilseb/32/2346_2.png) [@ilseb](https://forum.mautic.org/u/ilseb)\
**Post date:** [October 6, 2021, 7:28am UTC](https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063/11 "2021-10-06T07:28:19Z")

</div>

thanks Joey for the help. i managed to resolve by figuring out my path to console file was in the incorrect folder.

---

<div class="post-metadata">

**Author:** ![ilseb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ilseb/32/2346_2.png) [@ilseb](https://forum.mautic.org/u/ilseb)\
**Post date:** [October 6, 2021, 7:29am UTC](https://forum.mautic.org/t/aws-ses-smtp-campaign-email-sending-not-working/21063/12 "2021-10-06T07:29:06Z")

</div>

thanks for the feedback EJL. our emails are setup for “send immediately”. the suggested solution did not resolve.
