Hello, there seems to be an issue when setting up personal email accounts.
Issue:
When you set up a personal email account and configure the SMTP settings to not have an Auth. Espo seems to still check for Auth Username. This then causes a 500 Error.
Steps to replicate:
Login as any user
Create personal email account
In the SMTP section, fill in everything and don't tick Auth
Save the record
Expected Result:
Being able to send out an email without issue
Actual Result:
500 error appears when trying to send
Logs:
[2026-01-27 10:51:51] CRITICAL: (0) SmtpHandler: No 'smtpUsername'. :: POST /Email/sendTest :: /var/www/application/[Redacted]/custom/Espo/Modules/Outlook/Core/Outlook/SmtpGroupHandler.php(52)
Workaround:
Edit the DB and manually put a smtp_username in for users this fixes the 500 error since there seems to be a check if it's blank or not
Issue:
When you set up a personal email account and configure the SMTP settings to not have an Auth. Espo seems to still check for Auth Username. This then causes a 500 Error.
Steps to replicate:
Login as any user
Create personal email account
In the SMTP section, fill in everything and don't tick Auth
Save the record
Expected Result:
Being able to send out an email without issue
Actual Result:
500 error appears when trying to send
Logs:
[2026-01-27 10:51:51] CRITICAL: (0) SmtpHandler: No 'smtpUsername'. :: POST /Email/sendTest :: /var/www/application/[Redacted]/custom/Espo/Modules/Outlook/Core/Outlook/SmtpGroupHandler.php(52)
Workaround:
Edit the DB and manually put a smtp_username in for users this fixes the 500 error since there seems to be a check if it's blank or not

Comment