Here it is:You call it here: http://www.crazedhumor.com/taf.htmPHP Code:<?
// check for first & last name
if ($first_name==""||$last_name=="") {
echo("You need to provide your first & last name!");
}
// check for sender's email
if ($from_email=="") {
echo("You need to provide your email address!");
}
// check for at least one recipiant email
if ($to_email=="") {
echo("You need to provide at least one recipiant email address!");
}
// validate sender's email
if (!eregi("^[-a-z0-9\._]+@[-a-z0-9\._]+\.+[a-z]{2,3}$", $from_email)) {
echo("You provided a improper email address!");
}
// validate recipiant email addresses
if (!eregi("^[-a-z0-9\._]+@[-a-z0-9\._]+\.+[a-z]{2,3}$", $to_email)) {
echo("You provided a improper email address!");
}
// the message
mail($to_email, Hello, How are 'ya?)
?>
I can't find out what I did wrong!!!It won't mail the message...
thanks in advance!![]()



It won't mail the message...



Bookmarks