是我的頭,以發送郵件到用戶 -如何防止郵件發送垃圾郵件?下面
$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