Hi, I'm new to the whole php world but I have a script that I'm having trouble with. I have a website with a contact form and I tested to see if the form would actually send the submitted info to my email but I get this error... Warning: mail(): Bad parameters to mail() function, mail not sent. in /home/content/g/o/l/goldenhills/html/email_us.php on line 62 Here's the php code: <?php include "header.php"; ?> <table width="1000" border=0 align="center" cellpadding=5 cellspacing=0> <tr> <td width=150 background="images/bg_pix.jpg"></td> <td width=600 bgcolor=#FFFFFF> <?php // multiple recipients $to = get_db_setting('email_from') . "\r\n"; // note the comma // subject $subject = $_POST['subject']; // message //echo "$data[0]"; $message = $_POST['message']; //$message = get_db_setting('email_text'); // To send HTML mail, the Content-type header must be set // andy: NOT HTML email //$headers = 'MIME-Version: 1.0' . "\r\n"; //$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers //$headers .= 'To: <$to>' . "\r\n"; $headers .= 'From: ' . $_POST['emailFrom'] . "\r\n"; // Mail it mail($to, $subject, $message, $headers); ?> <h2>Thanks!</h2> Email has been sent to: <br> <?php echo nl2br($to); ?> <br> <br> <br> <br> </H2> </td> <td width=150 background="images/bg_pix.jpg"></td> </tr> </table> <body> <?php include "footer.php"; ?>