Developer Support »

CC autoresponse email  (See more user questions)

Hi

There isn't currently a facility in the script for that, but you can add
some code to achieve it. As follows:

Open the script (formtoemailpro.php) in a text editor, and locate this piece
of code:

if($autoresponder_from){$my_email = $autoresponder_from;}

$headers = "From: " . $my_email;
$headers .= PHP_EOL;

Below it, add this code:

$headers .= "Cc: " . $_REQUEST['cc_email'];
$headers .= PHP_EOL;

...to give, this:

if($autoresponder_from){$my_email = $autoresponder_from;}

$headers = "From: " . $my_email;
$headers .= PHP_EOL;
$headers .= "Cc: " . $_REQUEST['cc_email'];
$headers .= PHP_EOL;
(followed by the existing code)

Save the file and upload it.

Note. Replace 'cc_email' with the exact name of the data field you are
capturing.

Any questions, just let me know.

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Monday, March 30, 2009 5:26 AM
Subject: AUTORESPONDER QUESTION


> Is it possible to cc: the autoresponder to an email address that is being
> captured as a data field by the form's input?
>
> Thanks and regards,