title: Warning: Bad Message Return Path (PHP)
body: <p>I'm new to php and I'm tying to set up a simple contact form script. I keep getting this message:</p>
  
  <blockquote>
    <p>Warning: mail(): Bad Message Return Path in
    C:\xampp\htdocs\php_101\action.php on line 16</p>
  </blockquote>
  
  <p>Here's my php code. Thanks:</p>
  
  <pre><code>ini_set('SMTP','smtpout.secureserver.net');
  ini_set('smtp_port',80);
  $name = $_POST['name'];
  $to = "bgreen@oblivy.com";
  $from = $_POST['email'];
  $subject = $_POST['subject'];
  $message = $_POST['message'];
  echo $subject, " from ", $name, " at ", $from, "&lt;br/&gt;";
  echo $message;
  $retval = mail( $to, $subject, $message );
  </code></pre>