Re: Simple E-mail Question

From: Date: Wed, 22 Jan 2003 14:48:43 +0000
Subject: Re: Simple E-mail Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-132602@lists.php.net to get a copy of this message
you would put that in the $mailheaders variable. Something like $mailheaders = "From: Joe Bloe <joeblow@whatever.com>\r\n"; $mailheaders .= "Cc: Some Dude <somedude@whatever.com>\r\n"; $mailheaders .= "Bcc: Some Other Guy <someothergut@whatever.com>\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 <Scottsar@optonline.net> To: php-general@lists.php.net 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("abc@domain.com", "$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

« previous php.general (#132602) next »