freescout
freescout copied to clipboard
Undefined array key "auth_mode" - emails not sending
Log entry:
Send error. Undefined array key "auth_mode". Message-ID: [email protected]
I think line 34 of overrides/laravel/framework/src/Illuminate/Mail/TransportManager.php is assuming an array key "auth_mode" that's not always set. Sending emails did not work at all, but I didn't realize it until I went to go send a test message and saw the error mentioned in the title.
I did a q&d fix of
$transport = new SmtpTransport($config['host'], $config['port'], null, $config['auth_mode'] ?? null);
but wanted to put this out there in case anyone else encountered issues or there was a more systemic fix that made sense.
PHP version: 8.3.8 FreeScout version: 1.8.145 Database: MySQL Are you using CloudFlare: No Are you using non-official modules: No