RE: [PHP] mass mail and selected mailings

2003-03-18 Thread Van Andel, Robbert
Unless I'm completely mistaken, the BCC field will not show up when the email is 
delivered.

Robbert van Andel 
===



-Original Message-
From: Tim Thorburn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 1:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] mass mail and selected mailings


Hi,

I've just been asked by a client to create a mass mail program in PHP which 
the client can use to send a single message to everyone in it's email 
database, but also have the option to select which email address the 
message will go to.

I've done a simple script like this before which basically loops through 
the database, selects all the email addresses, and then sends out one big 
message.  The problem with that one, was that the To: field listed all the 
email addresses that were sent.  For obvious reasons, they do not want all 
email addresses included within the To:, CC:, or Bcc: fields.

Using PHP's mail() function, is it possible to conceal the email addresses 
being sent?  If there are not, are there any PHP/MySQL based applications 
that will do this?  Keeping in mind that I am using a shared hosting 
provider and do not have direct access to the server itself.

Thanks
-Tim



-- 
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] mass mail and selected mailings

2003-03-18 Thread -{ Rene Brehmer }-
On Tue, 18 Mar 2003 16:19:28 -0500, Tim Thorburn wrote about [PHP] mass
mail and selected mailings what the universal translator turned into
this:

I've just been asked by a client to create a mass mail program in PHP which 
the client can use to send a single message to everyone in it's email 
database, but also have the option to select which email address the 
message will go to.

I've done a simple script like this before which basically loops through 
the database, selects all the email addresses, and then sends out one big 
message.  The problem with that one, was that the To: field listed all the 
email addresses that were sent.  For obvious reasons, they do not want all 
email addresses included within the To:, CC:, or Bcc: fields.

Using PHP's mail() function, is it possible to conceal the email addresses 
being sent?  If there are not, are there any PHP/MySQL based applications 
that will do this?  Keeping in mind that I am using a shared hosting 
provider and do not have direct access to the server itself.

Why not just do it in a loop, and plump of one mail in each loop ???
The bulk mailer I've got works this way ... stick it one message, tell it
which list of addresses to use, and of it goes .. spittin' out thousands
of mails in a few seconds ...

This one's a W32 GUI program ... 

Rene

-- 
Rene Brehmer

This message was written on 100% recycled spam.

Come see! My brand new site is now online!
http://www.metalbunny.net

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



RE: [PHP] Mass Mail {?!}

2002-04-22 Thread Matthew Walker

I'd recommend this script with a few changes.

?

$Emails = array(Get your list of emails into the array somehow);

for($i=0; $icount($Emails); $i++) {
// send email code
usleep(delay in microseconds);
}

?

Matthew Walker
Senior Software Engineer
ePliant Marketing
 

-Original Message-
From: CDitty [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, April 21, 2002 8:47 PM
To: Liam MacKenzie; PHP
Subject: Re: [PHP] Mass Mail {?!}

How about something like this.

?

$Total_emails = 100;
$i = 1;

if($Total_emails != $i){
// send email code

$i++;
}

?

This should be all you need.  I used something similar to crash my
work's 
email system by accident.  :)  Whoops.

CDitty

At 12:40 PM 4/22/2002 +1000, Liam MacKenzie wrote:
Hey all,
I was just wondering if someone's written a script that will let me
send 
lots of emails to an address, but with a small pause inbetween emails.

And no I'm not using this for spam, I need to test a SMTP server that
I'm 
developing.

Thanks for your help!


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



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.345 / Virus Database: 193 - Release Date: 4/9/2002
 

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




RE: [PHP] Mass Mail {?!}

2002-04-22 Thread Maxim Maletsky \(PHPBeginner.com\)


Or just:

While(True) {
// send email
sleep(1);
if($tired==True)
Break;
}


Count how many mails you want and quit :-)



Sincerely,

Maxim Maletsky
Founder, Chief Developer

www.PHPBeginner.com   // where PHP Begins




-Original Message-
From: CDitty [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 22, 2002 4:47 AM
To: Liam MacKenzie; PHP
Subject: Re: [PHP] Mass Mail {?!}


How about something like this.

?

$Total_emails = 100;
$i = 1;

if($Total_emails != $i){
// send email code

$i++;
}

?

This should be all you need.  I used something similar to crash my
work's 
email system by accident.  :)  Whoops.

CDitty

At 12:40 PM 4/22/2002 +1000, Liam MacKenzie wrote:
Hey all,
I was just wondering if someone's written a script that will let me 
send
lots of emails to an address, but with a small pause inbetween emails.

And no I'm not using this for spam, I need to test a SMTP server that 
I'm
developing.

Thanks for your help!


-- 
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] Mass Mail {?!}

2002-04-21 Thread CDitty

How about something like this.

?

$Total_emails = 100;
$i = 1;

if($Total_emails != $i){
// send email code

$i++;
}

?

This should be all you need.  I used something similar to crash my work's 
email system by accident.  :)  Whoops.

CDitty

At 12:40 PM 4/22/2002 +1000, Liam MacKenzie wrote:
Hey all,
I was just wondering if someone's written a script that will let me send 
lots of emails to an address, but with a small pause inbetween emails.

And no I'm not using this for spam, I need to test a SMTP server that I'm 
developing.

Thanks for your help!


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




Re: [PHP] mass mail

2002-02-20 Thread Rambo Amadeus

yas, but that way they all end up in junk filters. Dont use bcc to send you
mailing list


- Original Message -
From: Norbert Eder [EMAIL PROTECTED]
To: Kancha . [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: 20. veljaèa 2002 13:10
Subject: AW: [PHP] mass mail


 hi.

 maybe you put the first user into the to-field and all
 others into field blindcopy...

 you will need one mail and send it to all. but i don't know
 if there is a limit ...

 greetz

  -Ursprungliche Nachricht-
  Von: Kancha . [mailto:[EMAIL PROTECTED]]
  Gesendet: Mittwoch, 20. Februar 2002 13:01
  An: [EMAIL PROTECTED]
  Betreff: [PHP] mass mail
 
 
  I've users in a database classified by differnet
  catagories. Now based on category I need to send mail
  to all the users in a category.
 
  Calling mail() function in a loop would be a kill for
  the server as there are more than 1000 users in each
  category.
 
  Is there any way of doing this ?? Creating a mailing
  list is not possible.
 
  __
  Do You Yahoo!?
  Yahoo! Sports - Coverage of the 2002 Olympic Games
  http://sports.yahoo.com
 
  --
  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] mass mail

2002-02-20 Thread Steve Werby

Kancha . [EMAIL PROTECTED] wrote:
 I've users in a database classified by differnet
 catagories. Now based on category I need to send mail
 to all the users in a category.

 Calling mail() function in a loop would be a kill for
 the server as there are more than 1000 users in each
 category.

 Is there any way of doing this ?? Creating a mailing
 list is not possible.

You may want to use a PHP class that uses SMTP directly.  There's one
Manuel Lemos has written one which is available at
http://phpclasses.upperdesign.com/.  Another option is to write the emails
and recipients to a database and use a cron job to query the db every X
minutes and deliver the messages Y recipients at a time until complete.
You'd just need to flag the messages and recipients after they've been
processed or delete them.  I discussed the solution in a reply to a poster
with a slightly different problem just a few minutes ago under the subject
Timed Jobs.

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



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