Campaign won't trigger

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.

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

mautic:campaigns:update
mautic:campaigns:trigger

?

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

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?

Here’s some output from var/logs

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}

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

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?

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

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}
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}

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.