问题
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.
回答1:
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
回答2:
I love PHPMailer and it is now maintained at github. If you want then you could check then go to the page at: https://github.com/Synchro/PHPMailer
来源:https://stackoverflow.com/questions/14643879/what-is-the-best-way-to-send-emails-from-php-script-2