title: Email wont send with php
body: <p>I am trying to send an email through php. I have tried sending to aol and hotmail accounts and no luck with either. Also firebug is returning me "mail sent" so i dont know what the problem is.</p>
  
  <pre><code> $to = '$em';
   $subject = "Welcome";
   $body = "Hi,\n\nTest";
   $mail_sent = @mail($to, $subject, $body);
   echo $mail_sent ? "Mail sent" : "Mail failed";
  </code></pre>
  
  <p>$em is an email address drawn from a database and i have checked and $em is defiantly equal to an email address</p>