title: PHP mail() function cannot send to hotmail?
body: <p>Okay, I have searched on the internet for answers- sadly to no avail. I'm trying to send mail using the PHP mail() function so members can follow the link to register. It works for Gmail, Yahoo!, but not for Hotmail. Please help meh!!!</p>
  
  <pre><code>   &lt;?php
  $headers .= 'To: &lt;kenny.XXX@hotmail.com&gt;' . "\r\n";
  $headers .= 'From: &lt;XXX@srv30.000webhost.com&gt;' . "\r\n";
  $headers .= 'Cc: XXX@srv30.000webhost.com' . "\r\n";
  $headers .= 'Bcc: XXX@srv30.000webhost.com' . "\r\n";
  $text="hello";
  $text = str_replace("\n.", "\n..", $text);
  mail('Kenny Worden:&lt;kenny.XXX@hotmail.com&gt;','Leos Realm account verification!',$text,$headers);
  ?&gt;
  </code></pre>
  
  <p>If this helps anyone:</p>
  
  <p>SMTP : localhost(srv30.000webhost.com)</p>
  
  <p>SMTP PORT: 25</p>