Expected response code 220 but got code "" with message ""
I think you should define mail sender (MAIL_FROM_ADDRESS
) as your gmail which you want to use send emails with.
for example, if your MAIL_USERNAME
at .env
is example@gmail.com you should define your MAIL_FROM_ADDRESS
(or of course $mail->from()
) as example@gmail.com.
I don't think gmail allows you send emails as another user (another address).