Re: [PHP-WIN] mail() & Bcc

2001-04-04 Thread Tomasz Abramowicz
actually, it did work. its a workaround. but it works. > >In that case, add 'To:' header also to your $headers variable... see the > line > >added/changed by me below (marked with *> ). > Sorry - no success. I'm sure that Bcc in the additional headers bit is > broken on Windows. > > Check out th

Re: [PHP-WIN] mail() & Bcc

2001-04-04 Thread Phil Driscoll
>In that case, add 'To:' header also to your $headers variable... see the line >added/changed by me below (marked with *> ). Sorry - no success. I'm sure that Bcc in the additional headers bit is broken on Windows. Check out the bugs database - there are a few open bugs on this - search for bcc.

RE: [PHP-WIN] mail() & Bcc

2001-04-04 Thread Urmil Parikh
In that case, add 'To:' header also to your $headers variable... see the line added/changed by me below (marked with *> ). Regards, | Linux Urmil Parikh | Is it really safe to turn on your computer? -Original Message- thank you for your help, but i seem to be still doing somet

Re: [PHP-WIN] mail() & Bcc

2001-04-04 Thread Phil Driscoll
>You have to include *all* address in $to variable, including those appearing in >'Bcc:'. The mail server will take care of hiding those addresses. Are you sure about this? And if so, exactly how do you do it. AFAIK sending BCC headers is simply broken in the Windows version of PHP. Cheers -- Ph

Re: [PHP-WIN] mail() & Bcc

2001-04-04 Thread Tomasz Abramowicz
tnx, it works now. the solution: $to = "[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]"; $headers = "To: [EMAIL PROTECTED]\n"; $headers .= "Bcc: [EMAIL PROTECTED], [EMAIL PROTECTED]\n"; $headers .= "From: [EMAIL PROTECTED]\n"; mail( $to, $subject, $body, $headers ); t. > >You have to

Re: [PHP-WIN] mail() & Bcc

2001-04-04 Thread Urmil Parikh
Hi, You have to include *all* address in $to variable, including those appearing in 'Bcc:'. The mail server will take care of hiding those addresses. Regards, | Linux Urmil Parikh | Is it really safe to turn on your computer? -Original Message- I cant seem to get bcc to work,

[PHP-WIN] mail() & Bcc

2001-04-04 Thread Tomasz Abramowicz
I cant seem to get bcc to work, ive tried it all, changeing case of the letters, putting emails between<>, copy&pasteing successful headers from my normal mail client.. but it just doesnt feel like working, the person $to receives the email. but the bcc dont. all of the emails im using as test are