RE: [PHP-WIN] Adding *another* person to an e-mail *to:* address

From: Date: Mon, 19 Nov 2001 22:06:03 +0000
Subject: RE: [PHP-WIN] Adding *another* person to an e-mail *to:* address
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-10516@lists.php.net to get a copy of this message
Actually yes. I was just looking there myself... /* recipients */ $recipient .= "Mary <mary@u.college.edu>" . ", " ; //note the comma $recipient .= "Kelly <kelly@u.college.edu>" . ", "; $recipient .= "ronabop@php.net"; Ross -----Original Message----- From: Craig Morrison [mailto:craig@2cah.com] Sent: 19 November 2001 22:02 To: r.fleming@clara.co.uk Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] Adding *another* person to an e-mail *to:* address See: http://www.php.net/manual/en/function.mail.php Pay particular attention to example #4. Ross Fleming wrote: > > I think you can send it as an extra header... > > $mailheaders.="To: $otheremail\n"; > > I can't comment by saying used PHP to do this, but if you understand the > SMTP protocol then you'll know it should work. > > Ross > > -----Original Message----- > From: Anthony Ritter [mailto:tony@gonefishingguideservice.com] > Sent: 19 November 2001 22:42 > To: php-windows@lists.php.net > Subject: Re: [PHP-WIN] Adding *another* person to an e-mail *to:* > address > > Ross, > As much I would like to say it works...no dice. > > I tried: > $to.=";theotheradddress@a.com"; (semicolon) > > $to.=",theotheraddress@a.com"; (comma) > > $to.="theotheraddress@a.com".","; > ended the first e-mail string with quotes then added a dot then put a comma > in between quotes. Then ended it with a semicolon. > > Any other suggestions? -- Craig Morrison MTS Professional @ http://www.mtsprofessional.com/ A Win32 Email server that works for _you_. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#10516) next »