Newsbie Help

I’m confused Cups, I have used a mail handler at the end of the script above. It’s

// create email headers
$headers = 'From: '.$email."\r
“.
'Reply-To: '.$email.”\r
" .
‘X-Mailer: PHP/’ . phpversion();
@mail($email_to, $email_subject, $email_message, $headers);

I am using the script I posted above only adding Case to provide info to $email_to

I’m going zonkers on this thing!

echo out all of the variables onto the page

try it without the header

remove the @ before mail() so that errors are reported

check your error log file

prove to yourself that the mail() function works from this script with some concrete values (i.e. send an email to yourself)