# Campaign won't trigger

**URL:** <https://forum.mautic.org/t/campaign-wont-trigger/34822>\
**Category:** Product Support\
**Created:** [January 23, 2025, 3:12am UTC](https://forum.mautic.org/t/campaign-wont-trigger/34822 "2025-01-23T03:12:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![3von](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/3von/32/13516_2.png) [@3von](https://forum.mautic.org/u/3von)\
**Post date:** [January 23, 2025, 3:12am UTC](https://forum.mautic.org/t/campaign-wont-trigger/34822/1 "2025-01-23T03:12:11Z")

</div>

**Your software**  
My Mautic version is: 5  
My PHP version is: 8.2  
My Database type and version is: 10.11

**Your problem**  
My problem is: Campaign not trigginering

These errors are showing in the log: The problem is that I don’t know what logs to check

Steps I have tried to fix the problem: Watched a few youtube videos and consulting the documentation. It appears that I’ve done everything correctly. If someone could direct me on how to troubleshoot this, it would be helpful.

---

<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:** [January 23, 2025, 7:59am UTC](https://forum.mautic.org/t/campaign-wont-trigger/34822/2 "2025-01-23T07:59:40Z")

</div>

What happens if you run the commands directly from the command line?  
I’m talking about

mautic:campaigns:update  
mautic:campaigns:trigger

?

---

<div class="post-metadata">

**Author:** ![3von](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/3von/32/13516_2.png) [@3von](https://forum.mautic.org/u/3von)\
**Post date:** [January 24, 2025, 2:16am UTC](https://forum.mautic.org/t/campaign-wont-trigger/34822/3 "2025-01-24T02:16:48Z")

</div>

Thanks for replying. Here’s the output of those commands:

```auto
evon@mail-list-server:/var/www/html$ sudo bin/console mautic:campaigns:update
Rebuilding contacts for campaign 1
0 total contact(s) to be added in batches of 300
0 total contact(s) to be removed in batches of 300

evon@mail-list-server:/var/www/html$ sudo bin/console mautic:campaigns:trigger
Triggering events for campaign 1
Triggering events for newly added contacts
1 total events(s) to be processed in batches of 100 contacts
 1/1 [============================] 100%
1 total event was executed
0 total events were scheduled

Triggering scheduled events
0 total events(s) to be processed in batches of 100 contacts

0 total events were executed
0 total events were scheduled

Triggering events for inactive contacts

0 total events were executed
0 total events were scheduled

```

There’s one contact and no email was recieved at the email address. Is there anything else I can try or logs I can check?

---

<div class="post-metadata">

**Author:** ![3von](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/3von/32/13516_2.png) [@3von](https://forum.mautic.org/u/3von)\
**Post date:** [January 24, 2025, 2:19am UTC](https://forum.mautic.org/t/campaign-wont-trigger/34822/4 "2025-01-24T02:19:28Z")

</div>

Here’s some output from var/logs

```auto
evon@mail-list-server:/var/www/html/var/logs$ cat prod-2025-01-24.php
[2025-01-24T02:13:48.120882+00:00] app.ERROR: [MAIL ERROR] Expected response code "250" but got code "554", with message "554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-2: strivingforholiness@gmail.com". [] {"hostname":"mail-list-server","pid":12526}

```

---

<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:** [January 24, 2025, 11:54am UTC](https://forum.mautic.org/t/campaign-wont-trigger/34822/5 "2025-01-24T11:54:13Z")

</div>

It seems, that you are trying to send an email FROM a GMAIL but it shouldn’t be a sender email in Amazon SES.

---

<div class="post-metadata">

**Author:** ![3von](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/3von/32/13516_2.png) [@3von](https://forum.mautic.org/u/3von)\
**Post date:** [January 24, 2025, 12:38pm UTC](https://forum.mautic.org/t/campaign-wont-trigger/34822/6 "2025-01-24T12:38:45Z")

</div>

I don’t see how that’s possible when this is my Mautic settings. I will check my SES settings as well. Is there anything else I should be checking?

 ![2025-01-24_07-37](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/f/f674de4d586b2ae87be18f2138c78095f30340ef.png)

---

<div class="post-metadata">

**Author:** ![3von](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/3von/32/13516_2.png) [@3von](https://forum.mautic.org/u/3von)\
**Post date:** [January 24, 2025, 10:17pm UTC](https://forum.mautic.org/t/campaign-wont-trigger/34822/7 "2025-01-24T22:17:07Z")

</div>

![2025-01-24_17-00](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/d3c657ca52ac274cc1ac07187286e493b6eb598d.png)

This is what happens whenever I try to send a direct email.

```auto
evon@mail-list-server:/var/www/html/var/logs$ cat mautic_prod-2025-01-24.php
[2025-01-24T22:00:21.058989+00:00] mautic.CRITICAL: Uncaught PHP Exception UnexpectedValueException: "The stream or file "/var/www/html/var/logs/prod-2025-01-24.php" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: [MAIL ERROR] Expected response code "250" but got code "554", with message "554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-2: strivingforholiness@gmail.com". Extra: {"hostname":"mail-list-server","pid":6816}" at /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php line 157 {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/var/logs/prod-2025-01-24.php\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: [MAIL ERROR] Expected response code \"250\" but got code \"554\", with message \"554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-2: strivingforholiness@gmail.com\".\nExtra: {\"hostname\":\"mail-list-server\",\"pid\":6816} at /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:157)"} {"hostname":"mail-list-server","pid":6816}
[2025-01-24T22:01:23.593748+00:00] mautic.CRITICAL: Uncaught PHP Exception UnexpectedValueException: "The stream or file "/var/www/html/var/logs/prod-2025-01-24.php" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: [MAIL ERROR] Expected response code "250" but got code "554", with message "554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-2: evon_smith@yahoo.ca". Extra: {"hostname":"mail-list-server","pid":3744}" at /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php line 157 {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/var/logs/prod-2025-01-24.php\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: [MAIL ERROR] Expected response code \"250\" but got code \"554\", with message \"554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-2: evon_smith@yahoo.ca\".\nExtra: {\"hostname\":\"mail-list-server\",\"pid\":3744} at /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:157)"} {"hostname":"mail-list-server","pid":3744}

```

```auto
evon@mail-list-server:/var/www/html/var/logs$ cat prod-2025-01-24.php
[2025-01-24T02:13:48.120882+00:00] app.ERROR: [MAIL ERROR] Expected response code "250" but got code "554", with message "554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-2: strivingforholiness@gmail.com". [] {"hostname":"mail-list-server","pid":12526}
[2025-01-24T21:57:47.706738+00:00] app.ERROR: [MAIL ERROR] Expected response code "250" but got code "554", with message "554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-2: strivingforholiness@gmail.com". [] {"hostname":"mail-list-server","pid":14945}

```

---

<div class="post-metadata">

**Author:** ![3von](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/3von/32/13516_2.png) [@3von](https://forum.mautic.org/u/3von)\
**Post date:** [February 4, 2025, 12:15am UTC](https://forum.mautic.org/t/campaign-wont-trigger/34822/8 "2025-02-04T00:15:48Z")

</div>

The issue was that I was still sandboxed by Amazon SES even though the terminal commands worked to trigger the campaign. I have since moved on to Mailgun but my campaigns won’t trigger without me havng to run the terminal command.
