php mail() function gets spam email

后端 未结 6 1819
野趣味
野趣味 2020-12-11 19:42

All my emails I am sending in local WAMP or on server, with PHP mail() function, goes to SPAM folder always.

While looking for the issue, I found we\'ve to set heade

6条回答
  •  有刺的猬
    2020-12-11 20:35

    That is one of the issues with mail function. The better solution is to go for either of these:

    • Swift Mailer
    • PHPMailer

提交回复
热议问题