是我的头,以发送邮件到用户 -如何防止邮件发送垃圾邮件?下面
$to='[email protected]';
$recipient='[email protected]';
$headers = "From: [email protected]" . "\r\n";
$headers .= "X-Sender: <" . "$to" . ">\r\n";
$headers .= "Return-Path: <" . "$to" . ">\r\n";
$headers .= "Error-To: <" . "$to" . ">\r\n";
$headers .= "Content-Type: text/html\r\n";
mail("$recipient", "$subj", "$body", "$headers")
但是,当我在垃圾邮件(Gmail中)去 Gmail中说出现问题: -
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - myexoticfriends.myexoticfriends.com
X-AntiAbuse: Original Domain - gmail.com
X-AntiAbuse: Originator/Caller UID/GID - [510 32003]/[47 12]
X-AntiAbuse: Sender Address Domain - myexoticfriends.myexoticfriends.com
X-Source: /usr/bin/php
X-Source-Args: /usr/bin/php /home/exotic/public_html/test/test.php
X-Source-Dir: myexoticfriends.com:/public_html/test
@Quentin,这不是我看到它的重复。 – user1227935 2012-02-23 09:34:33
然后你是否尝试过使用该问题提供的解决方案......? – 2012-02-23 09:37:09
@Sudhir,已经尝试b4张贴这个问题。 – user1227935 2012-02-23 09:38:26