title: php mail() giving me a "no disk" error
body: <p>Hey I am trying to send an email from a php script. When I try to do so, I get a pop up box that is titled "mailtodisk.exe - No Disk". In the body of the error message, it says, "There is no disk in the drive. Please insert a disk into drive \Device\Harddisk1\DR1".</p>
  
  <p>I have tried to figure this out but to no avail. I am doing this from localhost.</p>
  
  <p>Here is my script that is supposed to send the email:</p>
  
  <pre><code>&lt;?php       
  $to = $_POST['email1'];
  $subject = "Test mail";
  $message = "I just sent you an email!";
  $from = "ULSRL@louisiana.edu";
  $headers = "From:" . $from;
  
  if( mail($to, $subject, $message, $headers) )
  {
      echo ("Mail Sent.");
  }
  else
  {
      echo ("Mail could not be sent!");
  }
  ?&gt;
  </code></pre>
  
  <p>Any help is greatly appreciated! Thanks :)</p>