you would put that in the $mailheaders variable. Something like $mailheaders = "From: Joe Bloe <[EMAIL PROTECTED]>\r\n"; $mailheaders .= "Cc: Some Dude <[EMAIL PROTECTED]>\r\n"; $mailheaders .= "Bcc: Some Other Guy <[EMAIL PROTECTED]>\r\n";
That should work for you. Just do this for whatever other headers you want to add to the mail -----Original Message----- From: Scott Saraniero <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Wed, 22 Jan 2003 09:47:52 -0500 Subject: [PHP] Simple E-mail Question > Hi, > > I'm using this line to send an e-mail with info: > > mail("[EMAIL PROTECTED]", "$Event Ticket Form", $msg, $mailheaders); > > If I want to add mail recipients, or cc, or bcc, how would I do this? > > Thanks, > Scott > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php