Hello,
I have a working PHP mail script that captures input from a form (email, subject (topic), and the message (summary).
I now need help to modify my script so I can add multiple cc and reply-to recipients, one of which must be the person that completed the form (i.e. the From respondent must also be included in the cc and reply-to fields).
That is, I need to know how to make the following revisions:
[blue]
$to = me@me.com
$cc = $email (the From: person), 3rd_recipient@me.com
$reply-to = $email (the From: person), 3rd_recipient@me.com.[/blue]
Here is a snippet of my original code:
[red]$email = $_POST['email'];
$topic = $_POST['topic'];
$summary = $_POST['summary'];
$to = 'me@me.com';
$subject = "$topic_output";
$message = "$summary_output";
mail($to, $subject, $message, $headers);[/red]
Thanks so much - any help is greatly appreciated!
I have a working PHP mail script that captures input from a form (email, subject (topic), and the message (summary).
I now need help to modify my script so I can add multiple cc and reply-to recipients, one of which must be the person that completed the form (i.e. the From respondent must also be included in the cc and reply-to fields).
That is, I need to know how to make the following revisions:
[blue]
$to = me@me.com
$cc = $email (the From: person), 3rd_recipient@me.com
$reply-to = $email (the From: person), 3rd_recipient@me.com.[/blue]
Here is a snippet of my original code:
[red]$email = $_POST['email'];
$topic = $_POST['topic'];
$summary = $_POST['summary'];
$to = 'me@me.com';
$subject = "$topic_output";
$message = "$summary_output";
mail($to, $subject, $message, $headers);[/red]
Thanks so much - any help is greatly appreciated!