title: Hotmail account can't receive email sent by Godaddy
body: <p>I have tried to make an email service on my web site, but after I tried the code below, I find that my Hotmail account cannot receive the test email but others are fine (Gmail and Yahoo). I am using <strong>Godaddy</strong> hosting. Please help.</p>
  
  <p>My code:</p>
  
  <pre><code>&lt;?php
  require 'PHPMailerAutoload.php';
  
  $mail = new PHPMailer;
  
  $mail-&gt;setFrom('example@example.com', 'example');
  $mail-&gt;addAddress('myemailid@hotmail.com', 'myname');
  $mail-&gt;Subject = 'PHPMailer mail() test';
  $mail-&gt;msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
  $mail-&gt;AltBody = 'This is a plain-text message body';
  
  if (!$mail-&gt;send()) {
      echo "Mailer Error: " . $mail-&gt;ErrorInfo;
  } else {
      echo "Message sent!";
  }
  
  ?&gt;
  </code></pre>