Symfony 4 SwiftMailer Gmail : Email not sent

前端 未结 5 813
攒了一身酷
攒了一身酷 2021-01-02 17:48

I\'m currently working on a Symfony 4 application and I need to send emails throught Swift Mailer. When I send an email, I receive the email spooled but I don\'t get it in m

5条回答
  •  说谎
    说谎 (楼主)
    2021-01-02 18:22

    MAILER_URL must be url encoded. Check out the documentation at: https://symfony.com/doc/current/email.html#configuration

    If your password had some special characters in it, that needed to be url encoded, it won't work.

    Hope it helps.

提交回复
热议问题