Re: [PHP] bcc on php

2003-07-17 Thread Wendell Brown
On Thu, 17 Jul 2003 05:55:27 +, Curt Zirzow wrote:

 Example 4. Sending complex email
 http://www.php.net/manual/en/function.mail.php
 
um.. don't use that example, it is the incorrect way to send a bcc. for
one it wont work and two the people will see the bcc, defeating the
purpose of a bcc.

Have you tried it?  I wrote a php script just last night that used this
format and it works like a champ!  If you do a search for bcc on that
page you will see that bcc is NOT handled by the MTA but by PHP.  I
have it bcc'ing to 3 or 4 people using a single header Bcc: email,
email, email, email and it bcc's to all with NO copy of the bcc'ed
folk in the header.

Now for the caveat this is php 3.0.?  For some reason the ISP
I'm using doesn't have php 4 set to run from the command line.  Why
would I care if it runs from the command line?  Because I have my
little script set up as a cron job, so it has to be command line.  :)


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



Re: [PHP] bcc on php

2003-07-17 Thread Abdolhamid Joukar
 be aware that BCC header some times don't works properly on Windows
 platforms and the recipient can see the BCC header from the source of mail!
:o
 regards
 Abdolhamid Joukar
 ]
 - Original Message -
 From: Ralph Guzman [EMAIL PROTECTED]
 To: 'Louie Miranda' [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Thursday, July 17, 2003 5:27 AM
 Subject: RE: [PHP] bcc on php


  Just include Bcc in the extra headers. Take a look at
 
  Example 4. Sending complex email
  http://www.php.net/manual/en/function.mail.php
 
 
  -Original Message-
  From: Louie Miranda [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, July 16, 2003 5:47 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] bcc on php
 
  hello,
 
  how do you make a bcc on php on a form 2 email settings..
 
 
 
  --
  Thank you,
  Louie Miranda ([EMAIL PROTECTED])
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



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



Re: [PHP] bcc on php

2003-07-17 Thread David Nicholson
Hello,

This is a reply to an e-mail that you wrote on Thu, 17 Jul 2003 at 13:09, lines
prefixed by '' were originally written by you.
  be aware that BCC header some times don't works properly on Windows
  platforms and the recipient can see the BCC header from the source of
 mail!

I am using PHP 4.3.2 on Windows and just did some testing...

I sent a mail with a Bcc header, none of the recipients could see the Bcc line
in the message source.  I also had my packet sniffer running at the time PHP
sent the mail and what it sends to the mail server is correct so if what you
are describing happens it is because of an error in the code or the SMTP server
you are using has messed up.

David.

--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/

  Professional Web Development by David Nicholson
http://www.djnicholson.com/

QuizSender.com - How well do your friends actually know you?
 http://www.quizsender.com/
(developed entirely in PHP)

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



Re: [PHP] bcc on php

2003-07-17 Thread Louie Miranda
 A message that you sent contained a recipient address that was incorrectly
 constructed:
  Bcc: [EMAIL PROTECTED]  missing or malformed local part (expected word or
 )

got this error..


--
Thank you,
Louie Miranda ([EMAIL PROTECTED])


- Original Message - 
From: Wendell Brown [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 7:31 PM
Subject: Re: [PHP] bcc on php


 On Thu, 17 Jul 2003 05:55:27 +, Curt Zirzow wrote:
 
  Example 4. Sending complex email
  http://www.php.net/manual/en/function.mail.php
  
 um.. don't use that example, it is the incorrect way to send a bcc. for
 one it wont work and two the people will see the bcc, defeating the
 purpose of a bcc.
 
 Have you tried it?  I wrote a php script just last night that used this
 format and it works like a champ!  If you do a search for bcc on that
 page you will see that bcc is NOT handled by the MTA but by PHP.  I
 have it bcc'ing to 3 or 4 people using a single header Bcc: email,
 email, email, email and it bcc's to all with NO copy of the bcc'ed
 folk in the header.
 
 Now for the caveat this is php 3.0.?  For some reason the ISP
 I'm using doesn't have php 4 set to run from the command line.  Why
 would I care if it runs from the command line?  Because I have my
 little script set up as a cron job, so it has to be command line.  :)
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

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



Re: [PHP] bcc on php

2003-07-17 Thread Wendell Brown
On Fri, 18 Jul 2003 08:30:24 +0800, Louie Miranda wrote:

 A message that you sent contained a recipient address that was incorrectly
 constructed:
  Bcc: [EMAIL PROTECTED]  missing or malformed local part (expected word or
 )

got this error..

Well, maybe your copy of php is expecting  around the e-mail
address like this:

Bcc: [EMAIL PROTECTED]



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



[PHP] bcc on php

2003-07-16 Thread Louie Miranda
hello,

how do you make a bcc on php on a form 2 email settings..



--
Thank you,
Louie Miranda ([EMAIL PROTECTED])



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



RE: [PHP] bcc on php

2003-07-16 Thread Ralph Guzman
Just include Bcc in the extra headers. Take a look at 

Example 4. Sending complex email
http://www.php.net/manual/en/function.mail.php


-Original Message-
From: Louie Miranda [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 16, 2003 5:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] bcc on php

hello,

how do you make a bcc on php on a form 2 email settings..



--
Thank you,
Louie Miranda ([EMAIL PROTECTED])



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



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



Re: [PHP] bcc on php

2003-07-16 Thread Curt Zirzow
Ralph Guzman [EMAIL PROTECTED] wrote:
 Just include Bcc in the extra headers. Take a look at 
 
 Example 4. Sending complex email
 http://www.php.net/manual/en/function.mail.php
 
um.. don't use that example, it is the incorrect way to send a bcc. for
one it wont work and two the people will see the bcc, defeating the
purpose of a bcc.


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



Re: [PHP] bcc on php

2003-07-16 Thread Curt Zirzow
Louie Miranda [EMAIL PROTECTED] wrote:
 hello,
 
 how do you make a bcc on php on a form 2 email settings..
 
I would suggest:
http://phpmailer.sourceforge.net/


Curt
-- 



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



[PHP] Bcc with mail....

2003-01-01 Thread Michael J. Pawlowsky


Has anyone successfully used BCC with mail... (on Linux with sendmail)

If so are you using the header: 

Bcc: My Name [EMAIL PROTECTED]\r\n


Thanks,
Mike





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




Re: [PHP] Bcc with mail....

2003-01-01 Thread Jason Wong
On Thursday 02 January 2003 03:01, Michael J. Pawlowsky wrote:
 Has anyone successfully used BCC with mail... (on Linux with sendmail)

 If so are you using the header:

 Bcc: My Name [EMAIL PROTECTED]\r\n

For Bcc it would be pointless to include My Name as Bcc recipients are not 
displayed. Thus:

  Bcc: [EMAIL PROTECTED]\r\n

would be adequate.

If you really want to include a name with the email address then the correct 
format is:

  Bcc: \My Name\ [EMAIL PROTECTED]\r\n

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Language shapes the way we think, and determines what we can think about.
-- B. L. Whorf
*/


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




Re: [PHP] Bcc with mail....

2003-01-01 Thread Michael J. Pawlowsky

Well something weird is going on here.
Both my dev and prod machines are PHP 4.2.2
They might have some differences since they are not distributed from the same people.
One RH8 the other is a network applicace called an InstaRak.

At home on RH8 everything was fine...  on the appliance I needed to remove the \r 
(was terminating all header lines with \r\n) on the end of my header strings.
Otherwise the To: mail was fine however the Bcc: mail was ignoring the headers and 
including them in the mail message.


So just for archives sake... This is how it workes on an InstaRak.



$toname = Some Guy;
$tomail = [EMAIL PROTECTED];

$subject =My Subject.;
$message .=My Message.\n\n;

$headers  = Date:  . date(r, mktime ()) . \n;
$headers .= From: \User Name\ [EMAIL PROTECTED]\n;
if ($_POST['cc']){
$headers .= Bcc: [EMAIL PROTECTED]\n;
}
$headers .= Reply-To: \User\ [EMAIL PROTECTED]\n;
$headers .= MIME-Version: 1.0\n;
$headers .= X-Mailer: MyWebMail v1.B\n;
$headers .= Content-type: text/plain; charset=us-ascii\n;
$headers .= X-Priority: 2\n;
$headers .= X-MSMail-Priority: Medium\n;

if (mail(\$toname\ $tomail, $subject, $message, $headers))
{
echo pmail sent/p;
}


*** REPLY SEPARATOR  ***

On 02/01/2003 at 4:17 AM Jason Wong wrote:

On Thursday 02 January 2003 03:01, Michael J. Pawlowsky wrote:
 Has anyone successfully used BCC with mail... (on Linux with sendmail)

 If so are you using the header:

 Bcc: My Name [EMAIL PROTECTED]\r\n

For Bcc it would be pointless to include My Name as Bcc recipients are
not
displayed. Thus:

  Bcc: [EMAIL PROTECTED]\r\n

would be adequate.

If you really want to include a name with the email address then the
correct
format is:

  Bcc: \My Name\ [EMAIL PROTECTED]\r\n

--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Language shapes the way we think, and determines what we can think about.
-- B. L. Whorf
*/


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





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




[PHP] Bcc with the mail command

2002-07-31 Thread Carlos Fernando Scheidecker Antunes

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] bcc

2002-01-06 Thread Deependra B. Tandukar

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]




Re: [PHP] bcc

2002-01-06 Thread Bogdan Stancescu

What do you mean? Supported in what way? (I take it you're referring to
the e-mail blind carbon copy feature).

Bogdan

Deependra B. Tandukar wrote:

 Greetings !

 Is Bcc supported in PHP?

 Looking forward to hearing from you.

-- 
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]




[Fwd: Re: [PHP] bcc]

2002-01-06 Thread Bogdan Stancescu

Inadvertedly only sent to me...

 Original Message 
Subject: Re: [PHP] bcc
Date: Mon, 7 Jan 2002 11:46:07 +0800
From: Jimmy [EMAIL PROTECTED]
To: Bogdan Stancescu [EMAIL PROTECTED]
References:
[EMAIL PROTECTED]00b701c1972b$68cae5c0$[EMAIL PROTECTED]
[EMAIL PROTECTED]

 Is Bcc supported in PHP?

I havent try it, but i think it should work.
Just add the bcc header in the additional header parameter (the 4th
param of mail() function)

--
Jimmy

When you lose, don't lose the lesson.

-- 
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]




Re: [PHP] bcc

2002-01-06 Thread Mehmet Kamil ERISEN


 Dear List,
I is always a good idea to check out the manual before asking questions.
The answer to Leon's question about files is in the manual as well as the answer to 
this questions.  I hope the following links help.
File Operations:
http://www.php.net/manual/en/ref.filesystem.php
Bcc can be found in this section:
http://www.php.net/manual/en/ref.mail.php
Copying from the manual:
/* recipients */$to  = Mary [EMAIL PROTECTED] . ,  ; //note the comma$to .= 
Kelly [EMAIL PROTECTED];/* subject */$subject = Birthday Reminders for August;/* 
message */$message = 'htmlhead titleBirthday Reminders for 
August/title/headbodypHere are the birthdays upcoming in August!/ptable 
tr  thPerson/ththDay/ththMonth/ththYear/th /tr tr  
tdJoe/tdtd3rd/tdtdAugust/tdtd1970/td  
tdSally/tdtd17th/tdtdAugust/tdtd1973/td 
/tr/table/body/html';/* To send HTML mail, you can set the Content-type 
header. */$headers  = MIME-Version: 1.0\r\n;$headers .= Content-type: text/html; 
charset=iso-8859-1\r\n;/* additional headers */$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);

 
  Bogdan Stancescu [EMAIL PROTECTED] wrote: What do you mean? Supported in what way? (I take 
it you're referring to
the e-mail blind carbon copy feature).

Bogdan

Deependra B. Tandukar wrote:

 Greetings !

 Is Bcc supported in PHP?

 Looking forward to hearing from you.

-- 
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]


Mehmet Erisen
http://www.erisen.com


-
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail.


[PHP] bcc

2001-11-03 Thread Nikola Karovi

hello,
how can i send bcc from my php @mail script.

regards



-- 
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]




Re: [PHP] bcc

2001-11-03 Thread Steve Werby

"Nikola Karovi" [EMAIL PROTECTED] wrote:
 how can i send bcc from my php @mail script.

mail( $to, $subject, $message_body, "From: $from_name
$from_address\nbcc:[EMAIL PROTECTED]" );

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


-- 
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] bcc, cc limit on recepients?

2001-04-07 Thread Dhaval Desai

Hi!


Is there any limit on the number of recepients that a
bcc or a cc field email can be sent to?

I have a loop which extracts arounf 400 emails from
the database and then sends it as email to all the 400
recepients but the script fails and I get a mysql
error.

SO is there any limit on the number of recepients?


Thank you
Dhaval Desai

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

-- 
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]




Re: [PHP] bcc, cc limit on recepients?

2001-04-07 Thread Dean Hall

"Dhaval Desai" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Hi!


 Is there any limit on the number of recepients that a
 bcc or a cc field email can be sent to?

 I have a loop which extracts arounf 400 emails from
 the database and then sends it as email to all the 400
 recepients but the script fails and I get a mysql
 error.

If your getting a mysql error, is your script failing before you even send
the mail?

Dean Hall.
http://hall.apt7.com



-- 
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]




Re: [PHP] bcc, cc limit on recepients?

2001-04-07 Thread B. van Ouwerkerk


Is there any limit on the number of recepients that a
bcc or a cc field email can be sent to?

I have a loop which extracts arounf 400 emails from
the database and then sends it as email to all the 400
recepients but the script fails and I get a mysql
error.

SO is there any limit on the number of recepients?

Hear things like this before.. could be a timeout.. like the maximum time a 
script may run..

Could very well be a maximum on recipients too..

If you do such things on a regular basis you might want to use a 
mailinglist manager.. These things handle bounces all by theirselves

Bye,

B.


-- 
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]




Re: [PHP] Bcc email does not work

2001-02-03 Thread Richard Lynch

 Have u ever tried to send many emails using Bcc?
 It does not work for me !

Yeah, somewhere around 50 addresses you are choking sendmail.

You'll need something designed for a little more heavy-duty work than the
mail() function.

See Manuel Lemos' mail class, or consider integration with a mailing list
software package.

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
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] Bcc email does not work

2001-01-31 Thread kaab kaoutar


Hi!

Have u ever tried to send many emails using Bcc?
It does not work for me !

Thanks

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



Return-Path: [EMAIL PROTECTED]
Received: (qmail 19528 invoked from network); 31 Jan 2001 12:10:34 -
Received: from unknown (HELO hotmail.com) (64.4.15.52)
  by va.php.net with SMTP; 31 Jan 2001 12:10:34 -
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
 Wed, 31 Jan 2001 04:11:37 -0800
Received: from 212.217.5.93 by lw10fd.law10.hotmail.msn.com with HTTP;  Wed, 
31 Jan 2001 12:11:37 GMT
X-Originating-IP: [212.217.5.93]
From: "kaab kaoutar" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Bcc that not work !
Date: Wed, 31 Jan 2001 12:11:37 -
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: [EMAIL PROTECTED]
X-OriginalArrivalTime: 31 Jan 2001 12:11:37.0580 (UTC) 
FILETIME=[F60162C0:01C08B7E]

Hi!

Have u ever tried to send many emails using Bcc?
It does not work for me !

Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





-- 
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]