title: Php mailer error: SMTP error
body: <p>I am using php mailer class. I am getting : 
  SMTP Error: The following recipients failed: s_deshmukh88@hotmail.com </p>
  
  <pre><code>$mail = new phpMailer();
  $body             = "Hello, this is a test mail.";
  //$body             = preg_replace('/\\\\/','', $body); //Strip backslashes
  
  $mail-&gt;IsSMTP();                           // tell the class to use SMTP
  //$mail-&gt;SMTPAuth   = true;                  // enable SMTP authentication
  //$mail-&gt;Port       = 25;                    // set the SMTP server port
  $mail-&gt;Host       = "localhost";           // SMTP server
  $mail-&gt;Username   = "localhost";     // SMTP server username
  $mail-&gt;Password   = "password";            // SMTP server password
  //$mail-&gt;SMTPSecure   = "tls";
  //$mail-&gt;IsSendmail();  // tell the class to use Sendmail
  
  $mail-&gt;AddReplyTo("name@domain.com","First Last");
  
  $mail-&gt;From       = "name@domain.com";
  $mail-&gt;FromName   = "First Last";
  
  $to = "s_deshmukh88@hotmail.com";
  
  $mail-&gt;AddAddress($to);
  
  $mail-&gt;Subject  = "First PHPMailer Message";
  
  $mail-&gt;AltBody    = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test
  $mail-&gt;WordWrap   = 80; // set word wrap
  
  $mail-&gt;MsgHTML($body);
  
  $mail-&gt;IsHTML(true); // send as HTML
  
  if($mail-&gt;Send()){
      echo 'Message has been sent.';
      }
  </code></pre>
  
  <p>What can be the reason ?</p>