Jump to content

add cc option to php form


logicsound

Recommended Posts

YES!!!!!!  First one worked!!! 

 

one last final question.  so this domain is hosted on a apache server that I have other domains on too.  When you receive the email it shows it is from the main domain.  (example [email protected] 

 

Can I specify in the code a reply address so it over writes the default hostname ?

of course...  you would do that with a reply-to header

 

you would replace this:

 

$mailhead .= "FROM: LOI\r\n";
$mailhead .= "CC: ".$email;

 

with this:

 

$mailhead .= "FROM: LOI\r\n";
$mailhead .= "Reply-To: [email protected]"."\r\n";
$mailhead .= "CC: ".$email;

 

another way to do it is to do this

$mailhead = "FROM: LOI<[email protected]>"."\r\n";
$mailhead .= "CC:".$email;

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.