title: How to prevent mail from going spam?
body: <p>below is my header to sent the mail to the user -</p>
  
  <pre><code>$to='example@example.com';
  $recipient='example@example.com';
  $headers = "From: noreply@xxx.com" . "\r\n";
  $headers .= "X-Sender: &lt;" . "$to" . "&gt;\r\n";
  $headers .= "Return-Path: &lt;" . "$to" . "&gt;\r\n";
  $headers .= "Error-To: &lt;" . "$to" . "&gt;\r\n";
  $headers .= "Content-Type: text/html\r\n";
  
  mail("$recipient", "$subj", "$body", "$headers")
  </code></pre>
  
  <p>But the problem occurs when my go in spam (in gmail)
  gmail said:-</p>
  
  <pre><code>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
  </code></pre>