Re: mail() CC: header
| From: | Ed | Date: | Wed, 19 Feb 2003 21:21:37 +0000 |
| Subject: | Re: mail() CC: header | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18622@lists.php.net to get a copy of this message | ||
Hi Matt,
All the remaing headers are int the last argument of the mail function.And
are sperareted by delimiter "\r\n"
like so..
mail("nobody@example.com", "the subject", $message, "From:
somemail@somehost.com\r\nCC:someone@shotsnail.com\r\nBCC:getonetoo@shotsnail
.com");
regrads,
Ed
"Matt Hillebrand" <matt@medmarket.com> wrote in message
news:003e01c2d6c2$d75e5bc0$0100a8c0@beast...
> Has anyone here successfully sent CC headers with mail()? It simply
> won't work for me. I get different errors depending on which mail server
> I use.
>
> Matt
>
>