Email No longer working in v4.0

Hi - When I enter my email settings and click ‘save’ I get ‘save successfull’ however the fields are blank.

My .env appears to update with my email settings, however - when emailing an invoice I get

[2017-12-13 17:45:19] production.ERROR: Swift_RfcComplianceException [0] : /var/www/ninja/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php [Line 345] => Address in mailbox given [] does not comply with RFC 2822, 3.6.2.

The permissions on my .env are set to 0755 www-data:www-data

These email settings worked on 3.9.2, but not on 4.0

Many thanks

I’m not sure…

  • Try starting with a blank .env file to see if it stops the fields from being blank after saving.
  • Any chance you’ve run the config:cache artisan command?