[PHP] Re: Bcc with the mail command

2002-07-31 Thread lallous

Yes, the header can contain this:
$mailheader=Bcc: [EMAIL PROTECTED]\r\nTo: [EMAIL PROTECTED];

Elias,

Carlos Fernando Scheidecker Antunes [EMAIL PROTECTED] wrote in
message 012301c23874$982a5c70$93505ad1@Nando0">news:012301c23874$982a5c70$93505ad1@Nando0...
Hello all,

Just a question about PHP mail comand.

Usually I have something like this:

if (mail($to,$Subject,$Body,$MailHeaders)) {
return 1;
}
else {
return 0;
}

Is there any way to use a BCC instead of to?

I would like that the message sent did not have the address of the person it
is sending it to.

Any ideas or suggestions?

Thank you,

Carlos Fernando.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: bcc

2002-01-09 Thread php

// here's a nice example for a bcc adress, just generate a header

$headers .= From: Birthday Reminder [EMAIL PROTECTED]\r\n;

$headers .= Cc: [EMAIL PROTECTED]\r\n;
$headers .= Bcc: [EMAIL PROTECTED]\r\n;

/* and now mail it */
mail($to, $subject, $message, $headers);

gurix


Tim Ward [EMAIL PROTECTED] schrieb im Newsbeitrag
01D892A483EAD511926A00500416D3C004767A@HUNTERS-MAIL">news:01D892A483EAD511926A00500416D3C004767A@HUNTERS-MAIL...
 If you mean blind carbon copy on e-mails then
 www.php.net/manual/en/function.mail.php
 http://www.php.net/manual/en/function.mail.php  explains how to do it.
If
 you mean anything else please elaborate

 Tim
 www.chessish.com http://www.chessish.com

 --
 From:  Deependra B. Tandukar [SMTP:[EMAIL PROTECTED]]
 Sent:  07 January 2002 03:29
 To:  PHP General
 Subject:  bcc

 Greetings !

 Is Bcc supported in PHP?

 Looking forward to hearing from you.

 Warm Regards,
 DT




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] RE: bcc

2002-01-07 Thread Tim Ward

If you mean blind carbon copy on e-mails then
www.php.net/manual/en/function.mail.php
http://www.php.net/manual/en/function.mail.php  explains how to do it. If
you mean anything else please elaborate

Tim
www.chessish.com http://www.chessish.com 

--
From:  Deependra B. Tandukar [SMTP:[EMAIL PROTECTED]]
Sent:  07 January 2002 03:29
To:  PHP General
Subject:  bcc

Greetings !

Is Bcc supported in PHP?

Looking forward to hearing from you.

Warm Regards,
DT


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]