Hi, I'm having some issues sending mails via SMTP at the moment.
Mails fail with the following messages in the App Logg
Failed to send email: 168 to admin@redacted.co.za regarding Test email from ITFlow. Mailer Error: SMTP Error: Could not connect to SMTP host. Failed to connect to server...
And the following errors in the apache logs.
https://itflow.redacted.co.za/admin/settings_mail.php[Tue Dec 09 11:13:26.498957 2025] [php:warn] [pid 52182] [client 192.168.0.35:40728] PHP Warning: Undefined array key "config_smtp_host" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 10, referer: https://itflow.redacted.co.za/admin/settings_mail.php
[Tue Dec 09 11:13:26.499042 2025] [php:warn] [pid 52182] [client 192.168.0.35:40728] PHP Warning: Undefined array key "config_smtp_encryption" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 12, referer: https://itflow.redacted.co.za/admin/settings_mail.php
[Tue Dec 09 11:13:26.499062 2025] [php:warn] [pid 52182] [client 192.168.0.35:40728] PHP Warning: Undefined array key "config_smtp_username" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 13, referer: https://itflow.redacted.co.za/admin/settings_mail.php
[Tue Dec 09 11:13:26.499077 2025] [php:warn] [pid 52182] [client 192.168.0.35:40728] PHP Warning: Undefined array key "config_smtp_password" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 14, referer: https://itflow.redacted.co.za/admin/settings_mail.php
[Tue Dec 09 11:13:26.499091 2025] [php:warn] [pid 52182] [client 192.168.0.35:40728] PHP Warning: Undefined array key "config_mail_oauth_client_id" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 17, referer: https://itflow.redacted.co.za/admin/settings_mail.php
[Tue Dec 09 11:13:26.499105 2025] [php:warn] [pid 52182] [client 192.168.0.35:40728] PHP Warning: Undefined array key "config_mail_oauth_client_secret" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 18, referer: https://itflow.redacted.co.za/admin/settings_mail.php
[Tue Dec 09 11:13:26.499119 2025] [php:warn] [pid 52182] [client 192.168.0.35:40728] PHP Warning: Undefined array key "config_mail_oauth_tenant_id" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 19, referer: https://itflow.redacted.co.za/admin/settings_mail.php
[Tue Dec 09 11:13:26.499154 2025] [php:warn] [pid 52182] [client 192.168.0.35:40728] PHP Warning: Undefined array key "config_mail_oauth_refresh_token" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 20, referer: https://itflow.redacted.co.za/admin/settings_mail.php
[Tue Dec 09 11:13:26.499167 2025] [php:warn] [pid 52182] [client 192.168.0.35:40728] PHP Warning: Undefined array key "config_mail_oauth_access_token" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 21, referer: https://itflow.redacted.co.za/admin/settings_mail.php
[Tue Dec 09 11:14:06.790858 2025] [php:warn] [pid 46325] [client 192.168.0.35:40758] PHP Warning: Undefined array key "config_mail_oauth_client_id" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 17, referer: https://itflow.redacted.co.za/admin/settings_mail.php
[Tue Dec 09 11:14:06.790944 2025] [php:warn] [pid 46325] [client 192.168.0.35:40758] PHP Warning: Undefined array key "config_mail_oauth_client_secret" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 18, referer: https://itflow.redacted.co.za/admin/settings_mail.php
[Tue Dec 09 11:14:06.790962 2025] [php:warn] [pid 46325] [client 192.168.0.35:40758] PHP Warning: Undefined array key "config_mail_oauth_tenant_id" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 19, referer: https://itflow.redacted.co.za/admin/settings_mail.php
[Tue Dec 09 11:14:06.790977 2025] [php:warn] [pid 46325] [client 192.168.0.35:40758] PHP Warning: Undefined array key "config_mail_oauth_refresh_token" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 20, referer: https://itflow.redacted.co.za/admin/settings_mail.php
[Tue Dec 09 11:14:06.790992 2025] [php:warn] [pid 46325] [client 192.168.0.35:40758] PHP Warning: Undefined array key "config_mail_oauth_access_token" in /var/www/itflow.redacted.co.za/admin/post/settings_mail.php on line 21, referer: https://itflow.redacted.co.za/admin/settings_mail.php
Undefined array key "config_smtp_host"