mail() error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
xorion
Forum Newbie
Posts: 1
Joined: Mon Apr 20, 2009 6:43 am

mail() error

Post 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>");
}
Post Reply