NYCPHP Meetup

NYPHP.org

[nycphp-talk] mail Bcc question

Oktay Altunergil nyphp at altunergil.com
Thu Sep 19 12:20:19 EDT 2002


While test make sure the destination mailbox for the addresses are not the same. Some mail servers only deliver one copy if multiple copies are addressed to the same box.

oktay

On Thu, 19 Sep 2002 11:11:42 -0400
"Freedman, Tom S." <tfreedma at ubspw.com> wrote:

> Hi all!
> 
> I'm stumped.  I'm trying to send an email to one person, make it from a
> departmental address, and bcc myself.  I've gotten a CC working, but it
> seems to ignore the BCC header.  The code I'm using looks like this:
> 
> $to = "joe.shmoe at company.com"
> $subject = "Re: foo";
> $msgBody = "bar";
> 
> $headers = "From: <dept at company.com>\\r\
";
> $headers .= "Cc: <dept at company.com>\\r\
";
> $headers .= "Bcc: <me at company.com>\\r\
";
> 
> mail("$to", "$subject", "$msgBody", "$headers");
> 
> So, in the testing I've done, I can CC the department, and I can CC myself.
> But it just seems to ignore the BCC header entirely.  I don't get any kinds
> of errors or returned mail, and I don't have access to the Exchange logs.
> Does anyone have any ideas?
> 
> Thanks,
> Tom
> 
> 
> --- Unsubscribe at http://nyphp.org/list ---
> 
> 



More information about the talk mailing list