Re: Adding *another* person to an e-mail *to:* address
| From: | Craig Morrison | Date: | Mon, 19 Nov 2001 22:01:34 +0000 |
| Subject: | Re: Adding *another* person to an e-mail *to:* address | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10514@lists.php.net to get a copy of this message | ||
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_.