What is the best practice to send emails from PHP script?

前端 未结 2 1351
陌清茗
陌清茗 2020-12-10 06:39

I hope this question wont be too specific. But I really need to ask. We all know that we cannot fully prevent our emails to go to spam box right? But I guess we can decrease

2条回答
  •  感动是毒
    2020-12-10 07:17

    I am using Swiftmailer.

    • easy to integrate
    • easy to use
    • has a cool documentation

    If you read the docs and follow guidelines, you will have much less mails landing in the spam folder. I have used it with great success. It also has some useful plugins.

提交回复
热议问题