Re: Re: using Cc: with mail()
| From: | Curt Zirzow | Date: | Thu, 15 Jul 2004 01:02:46 +0000 |
| Subject: | Re: Re: using Cc: with mail() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190554@lists.php.net to get a copy of this message | ||
* Thus wrote Manuel Lemos:
> Hello,
>
> On 07/14/2004 12:55 PM, Amanda Hemmerich wrote:
> >Ok, I am trying to fix a bug on a site I didn't write, and I looked for
> >examples on www.php.net and couldn't find what I needed.
> >
> >Here is the line of code in question:
> >
> >mail($email, "XXX - Conference Registration Confirmation", $message,
> >"From: confirmations@XXX.com\r\n" . "Cc:linda@XXX.com;
> >info@XXX.com");
> >
> >The Cc isn't working, and it looks strange to me. I want to find an
> >example of mail() using Cc: so I can see if it's using the correct syntax
> >and everything. Plus I want to change everything to variables, but I can
> >do that once it is working correctly.
>
> This looks like a bug of the mail() function. Have you tried separating
> the recipients in Cc: with , instead of ; and also add a space between
> Cc: and the first address?
This is *not* a bug of the mail() function, please change your
template for these replied messages.
';' is not a proper seperator for addresses. see rfc2822
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!