What I’ve understood from @Daman reply, is that the code is checking if the field “Username” is set on the outbound email account. And from your screenshot it seems to be blank.
I don’t need to authenticate with my email server to send the emails.
Still I entered a user name to the outbound email account but also this does not helps.
Forcing via the “Run Next Batch…” does not work either.
I see every minute the following:
Wed May 20 2026 at 09:38:04 [2194][1][FATAL] Error retrieving template for the email campaign. marketing_id = 986be7a6-0b27-4b63-8a6b-0ef47f1cc83e
Wed May 20 2026 at 09:38:04 [2194][1][FATAL] Error verifying templates for the campaign, exiting
Wed May 20 2026 at 09:38:04 [2194][1][FATAL] Error retrieving template for the email campaign. marketing_id = 986be7a6-0b27-4b63-8a6b-0ef47f1cc83e
Wed May 20 2026 at 09:38:04 [2194][1][FATAL] Error verifying templates for the campaign, exiting
So I guess the scheduler is working but can’t send the emails due to the error above.
Please note that sending campaign emails was working in 8.9.2 for me.
Hey @TimmiORG, could it be that you are running both the legacy scheduler for campaigns and the new scheduler command that runs the new scheduler for campaigns?
No the template_id is never set in my tests.
I just entered it via the DB. Now errors are gone from the log. Still the emails are in the outbound queue.
I realized that the system mail account was not configured any more.
==> /opt/suitecrm8/logs/legacy/suitecrm.log <==
Wed May 20 2026 at 13:41:04 [7437][1][FATAL] SugarPHPMailer encountered an error: An outgoing mail server is not configured to send emails. Please configure an outgoing mail server or select an outgoing mail server for the mail account that you are using in Settings >> Mail Account.
Important I did not use this for the sending.
So I configured that one and after entering the template_id manually I guess the emails send out.
Still the the campaign is paused:
==> /opt/suitecrm8/logs/legacy/suitecrm.log <==
Wed May 20 2026 at 14:05:04 [7946][1][ERROR] Saving Email with invalid From name and/or Address. Details:
From field is not set.
From-name is not set.
From name is not set.
From address and name pair format is incorrect, use "from@emailaddress.org <Name of Person>" format.
From address and name pair is invalid.
codes:1, 7, 10, 16, 15
Wed May 20 2026 at 14:05:04 [7946][1][ERROR] Unable to find relationship emails_email_templates
==> /opt/suitecrm8/logs/devel/devel.log <==
[2026-05-20T14:05:04.559142+02:00] app.WARNING: Campaigns:DefaultEmailQueueProcessor::processQueue - Outbound Email Account not configured - pausing | email marketing id - 3b8b28ef-fbc2-4c87-a444-a895341858a5 {"emailMarketingId":"3b8b28ef-fbc2-4c87-a444-a895341858a5","campaignId":"2839ab86-b620-4142-9aab-d785a132febd"} []
OK first of all I want to thank you @all for your help to analyse this.
The good news is that I managed to send campaign emails on my test instance again.
It looks like the template_id column is not used any more. It is still empty.
So @Daman gave the correct hint. After the recreation of my outbound email settings. I gave this another try.
I’m running my outbound email without authentication and the user name value need to be filled to be able to send emails.
So I would say this is a bug.
Beside that I have configured a timezone inside the php.ini and I have deactivated the “Run Nightly Mass Email Campaigns” schedule as suggested by @rsp and @anthony.oak.castro .
So I will try to replicated this to my production system now. → fingers crossed
Should I open a ticket for the username being required on the outbound email settings?