1 2 3 4 5 6 7 8 9 10 11 12 13 |
$headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'To: Mary <person@example.com>, Derek <Derek@example.com>' . "\r\n"; $headers .= 'From: Mike <mike@codehaven.com>' . "\r\n"; $headers .= 'Cc: person1@example.com' . "\r\n"; $headers .= 'Bcc: person2@example.com' . "\r\n"; // Mail it mail($to, $subject, $message, $headers); |
