prevent php mail sent going to spam gmail [duplicate]
问题 This question already has answers here : How do I prevent mails sent through PHP mail() from going to spam? [duplicate] (6 answers) How do you make sure email you send programmatically is not automatically marked as spam? (24 answers) Closed 3 years ago . this is my complete code that I use to send emails from a contact form on a website. Despite all the best practices used (headers etc), the results are: 1) the confirmation email to users goes in gmail spam every time and it is flaged as