-
fake mail help
I was woundering if any of you can help me out here. I am having a few minor problems with the attached code. I'm trying to get it so when the whole form has been filled out and the person you are sending it too recieved the email how do i get is to the user who the email was sent it can reply to this email address [email protected].
Please help me asap.
-
Re: fake mail help
Try...
Code:
$to = "THE PERSON";
$from = "[email protected]";
$subject = "Subject here";
$from = "[email protected]";
$headers = "MIME-Version: 1.0\r\n".
"Content-type: text/html; charset=iso-8859-1\r\n".
"From: \"YOU\" <".$from.">\r\n".
"To: \"Client\" <".$to.">\r\n".
"Date: ".date("r")."\r\n".
"Subject: ".$subject."\r\n";
$message = "YOUR MESSAGE";
$response = mail($to, $subject, $message, $headers);
Bear
-
Re: fake mail help
The code above dosent seem to work.