title: Phpmailer not in Hotmail Inbox or Spam?
body: <p>So i thought that if you send email to hotmail it would at least arrive in spam but in this case it does not. So have i done something wrong in this code below? I tested the same code with Gmail and it works Perfectly. Sure i think its related to Hotmail Filters.</p>
  
  <p>Things to note, I have setup the email address on my domain and i have an SPF Record setup.</p>
  
  <p>What could be wrong? And how can i check it?</p>
  
  <p>Current PHP:</p>
  
  <pre><code>&lt;?php 
  
      require 'PHPmailer/PHPMailerAutoload.php';
      $mail = new PHPMailer(true);
  
  try {
      $mail-&gt;SMTPDebug = true;
      $mail-&gt;SMTPAuth   = true;                  // enable SMTP authentication
      $mail-&gt;Host       = "smtpout.secureserver.net"; // sets the SMTP server
      $mail-&gt;Port       = 26;                    // set the SMTP port
      $mail-&gt;Username   = "username"; // SMTP account username
      $mail-&gt;Password   = "password";        // SMTP account password
      $mail-&gt;setFrom('email', 'Immortal Insurance');
      $mail-&gt;AddAddress('sendtoemail');
      $mail-&gt;AddAddress('sendtoemail');
      $mail-&gt;Body       = 'This is a test Email';
      $mail-&gt;AddAttachment('tosend/policy.pdf');
      $mail-&gt;Send();
      echo "Message Sent OK&lt;p&gt;&lt;/p&gt;\n";
  } catch (phpmailerException $e) {
      echo $e-&gt;errorMessage();
  } catch (Exception $e) {
      echo $e-&gt;getMessage();
  }
  
  
  ?&gt;
  </code></pre>