0
Ich habe ein Kontaktformular für eine HTML-Seite. Im Moment ist der Empfänger nur einer. Wie kann ich mehrere Empfänger hinzufügen? Jede Hilfe dabei wäre eine große Hilfe.Wie man ein cc in einem PHP-Kontaktformular hinzufügt?
Der Code ist unten.
Danke. ?
<?php
$to = "[email protected]";
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'];
$subject = "Message from $name ($email)";
$replyto = $email;
$headers="";
$headers = "From: test <[email protected]>\n";
$headers .= "Reply-To: $replyto";
$result = mail($to,$subject,$message,$headers);
>
$ headers = 'Cc: [email protected]'.. "\ r \ n"; Sie können eine Liste von E-Mails machen – splash58
Mögliches Duplikat von [PHP Mail, CC Feld] (http://stackoverflow.com/questions/3582126/php-mail-cc-field) – Shubhamoy