I am using the mail() function to send a quite simple email but always get warning message as "Notice: Array to string conversion" at this line "if(mail($MailTo, $MailSubj, $MailCon, $MailH,"-fbounce@xxxxxxxxxx")){" in the following php code. I don't see where is the Array at all. Appreciated for helps <?php error_reporting(E_ALL); $FromName="tieshou"; $MailFrom="xxxxx@xxxxxxxxxxxxx"; $MailTo="XXXX@xxxxxxxxx"; $MailSubj="This is just a test for sending out email purpose"; $MailCon="This is a somehting to test out"; $MailH = "MIME-Version: 1.0\r\n"; $MailH .= "From: $FromName <$MailFrom>\r\n"; $MailH .= "Reply-to: $FromName <$MailFrom>\r\n"; $MailH .= "X-Priority: 3\r\n"; $MailH .= "X-Mailer: PHP mailer\r\n"; if(mail($MailTo, $MailSubj, $MailCon, $MailH, "-fbounce@xxxxxxxxxx")){ echo "sending out succeessfully"; }else{ echo "Can't send out for some reason."; } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php