Page 1 of 1

mail() error

Posted: Mon Apr 20, 2009 6:44 am
by xorion
Hi guys,

I recently upgraded to php5 with register_globals=off.

my mail() script stopped working, how do i get it to work again? thanks!

if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}