Search code examples
phpsendmailspam-prevention

What is the best way to send emails from PHP script? [2]


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 the #of emails that goes there.

Till now, I use PHP's built-in function mail() but I guess there are other methods right? What are they and what is your best practice for this problem?

Taken from: What is the best practice to send emails from PHP script? That's over a year old, hence the new question.


Solution

  • Swiftmailer

    It's awesome! I've used it in all my projects with great results!

    About the mail going to spam, I suggest this article