So the issue is I want multiple recipients for my PHP form.
What happens is the site user enters there email and then another email for another peroson (for example there doctor).
So what I need is the the doctor to be emailed to.
This is what I am using to know success
$mail_to = $field_emaildoc .$field_email;
This doesent seem to work?
Any ideas would be great 🙂
Thanks
one option is to add a “Cc” to your header:
The problem with this, is that the person receiving the email can see who was copied in. An alternative would be to use: “Bcc” instead of “Cc” or just use the
mail()function twice and remove the “Cc” or “Bcc”: