English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Here is my code:

PHP code on my page at process.php:



$req1 = $_GET['req1'];
$email = $_GET['email'];
mail("webmaster@plwebdesign.net", "Above All Question", $req1, "from: $email");

$thankyou = "Thank you for contacting us. We will respond as soon as possible.";
echo $thankyou;
?>


HTML Code on contact.html page:


Required Field:


Email:








2007-02-26 15:58:35 · 2 answers · asked by Tony l 1 in Computers & Internet Programming & Design

2 answers

I think you have to set "sendmail_from" parameter in php.ini file. Just read this and try to set it according to your server configuration.

2007-02-26 21:24:05 · answer #1 · answered by Atif Majid 3 · 0 0

Try using the Reply-To header instead of the From: header.

2007-02-27 15:01:54 · answer #2 · answered by GodBuster 5 · 0 0

fedest.com, questions and answers