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

user1259711 picture user1259711 · Feb 1, 2013 · Viewed 7.1k times · Source

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.

Answer

João Dias picture João Dias · Feb 1, 2013

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