I have a queued job that is supposed to send emails. I keep getting an error:
Swift_TransportException(code: 530): Expected response code 250 but got code \"530\", with message \"530 5.7.1 Authentication required\r\n\" at /my/project/path/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:383
I tried using mail
, sendmail
and smtp
drivers. However if I set config values directly via mail.php
in config
dir it seems to work fine.
Once I get back to .env
configuration it's the same problem again.
I tried outputting .env
and config
values in my templates - they all seem fine.
Any ideas what might be causing this?
mail.php
and the part of.env
for sending mails? Make sure you remove your passwords first. – Jerodev