Symfony 4 SwiftMailer Gmail : Email not sent

前端 未结 5 852
攒了一身酷
攒了一身酷 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-02 18:07

    Comment out the spooler line

    swiftmailer:
    url: '%env(MAILER_URL)%'
    #spool: { type: 'memory' }
    

提交回复
热议问题