title: phpmailer - The following SMTP Error: Data not accepted
body: <p>I'm trying to figure out this issue for 6 hours. But there is nothing to make sense. Here is the scenario; There is a well formatted <code>HTML</code> template.</p>
  
  <pre><code>$mail_body = '
      &lt;b&gt;Message Num :&lt;/b&gt; 769&lt;br /&gt;
      &lt;b&gt;Message Date :&lt;/b&gt; 2013-04-08 09:03:21&lt;br /&gt;
      &lt;b&gt;Name :&lt;/b&gt; John Doe&lt;br /&gt;
      &lt;b&gt;Phone :&lt;/b&gt; 123456789&lt;br /&gt;
      &lt;b&gt;E-mail :&lt;/b&gt; abcdf@somedomain.com&lt;br /&gt;
      &lt;b&gt;Message :&lt;/b&gt; Here is the message info&lt;br /&gt;
  ';
  </code></pre>
  
  <p>Here is the array of recipients' mails;</p>
  
  <pre><code>$recipients = array("abc@something.com","xyz@somtehing.com");
  </code></pre>
  
  <p>Everything looks fine and email ready to send.Here is the phpmailer config;</p>
  
  <pre><code>$mail = new PHPMailer(); 
  $mail-&gt;IsSMTP();
  $mail-&gt;From = "noreply@something.com"; 
  $mail-&gt;FromName = "TEST";
  $mail-&gt;WordWrap = 50;
  
  foreach($recipients as $mail_add) {
      $mail-&gt;AddAddress($mail_add);
  }
  $mail-&gt;IsHTML(true);
  $mail-&gt;Subject = "TEST Subject";
  $mail-&gt;Body = $mail_body;
  if(!$mail-&gt;Send()) {
      echo $mail-&gt;ErrorInfo;
  } else { 
          echo "Mail sent...";
  }
  </code></pre>
  
  <p>Everything is same when I test it. But sometimes email was sent. Sometimes it was not sent. Give me the following error : <code>The following SMTP Error: Data not accepted.</code></p>
  
  <p>I hope I explained</p>