...

View Full Version : In PHP how replace service@polis-land.com below with $email ?



lse123
11-25-2007, 01:23 PM
In PHP how replace service@polis-land.com below with $email ?
this is a php mail() script where $email = $_GET['e']; .


$headers = "From:service@polis-land.com";
$headers .= "\nBcc:a080725@cytanet.com.cy";
$headers .= "\nReply-To:service@polis-land.com"; //, $email
$headers .= "\nContent-Type: text/html; charset=UTF-8";
$headers .= "\nMIME-Version: 1.0";

NancyJ
11-25-2007, 02:57 PM
:confused:

Open up your text editor, select service@polis-land.com, type $email...

lse123
11-25-2007, 03:23 PM
you mean $headers .= "\nReply-To:$email"; ?

NancyJ
11-25-2007, 05:07 PM
any place where you want $email to appear in place of service@polis-land.com

lse123
11-25-2007, 06:12 PM
you mean $headers .= "\nReply-To:$email"; ?

IS this correct ?

Inigoesdr
11-25-2007, 07:00 PM
If the value of $email is what you want to put there. Please don't ask stupid questions repeatedly. Nancy already gave you an answer. If you want to know what the headers are for lookup the function or mail headers.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum