// To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers $headers .= 'To: Mary <[email protected]>, Kelly <[email protected]>' . "\r\n"; $headers .= 'From: Birthday Reminder <[email protected]>' . "\r\n"; $headers .= 'Cc: [email protected]' . "\r\n"; $headers .= 'Bcc: [email protected]' . "\r\n"; // Mail it mail($to, $subject, $message, $headers); On Sun, Jan 4, 2009 at 9:13 AM, chris burgess <[email protected]> wrote: > > There's an example in the PHP online docs which shows exactly that - > have a look at http://nz.php.net/manual/en/function.mail.php and > search for "Cc:" > > On Sun, Jan 4, 2009 at 3:24 PM, hunglduc <[email protected]> wrote: > > > > in function mail(), when i want to cc or bcc, what i need to do, can u > > please help me > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
