Newbie needs help with mail function

Hi,

I've got so far with the mail() function but it won't work. Please help.
WHere am I going wrong?

Kind regards,

Raj (Newbie)


$to="def [at] ghi.com";
$email_system="abc [at] def.com";
$message="Hi";
$headers = "From: ".$email_system."\n";
$headers .= "Reply-To: <".$email_system.">\n";
$headers .= "X-Sender: <".$email_system.">\n";
$headers .= "X-Mailer: PHP4\n"; //mailer
$headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
$headers .= "Return-Path: <".$email_system.">\n";
mail($to,"Verify Email Address for Hi", $message, $headers);
raj [ So, 18 Februar 2007 20:34 ] [ ID #1632957 ]
PHP » alt.php.sql » Newbie needs help with mail function

Vorheriges Thema: Mail function sends to gmail but not hotmail. Please help (newbie)
Nächstes Thema: FAQ... should we have one?