Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-08 Thread Manuel Lemos

Hello,

Anas Mughal wrote:
 
 What would be the easiest and more effective way to
 check for bouncing email addresses?

Setting the return-path address some pop mailbox address and check if
that mail box gets any bounced messages.

Regards,
Manuel Lemos


 Thank you.
 
 --- Manuel Lemos [EMAIL PROTECTED] wrote:
  Hello,
 
  B Richards wrote:
  
   How many emails per hour can people generate on a
  typical dedicated server?
   on qmail? on smtp?
 
  It depends on many things. Anyway, queueing is one
  thing and delivering
  is another. Queuing and delivering from the same
  machine is usually slow
  because it requires the server to resolve the domain
  and connecting with
  each recipient MX to deliver the messages. If the
  connection is slow,
  everything is stalled.
 
  For very large recipient lists like large mailing
  lists sites like
  eGroups, the recommended setup is at least one
  server for queuing the
  messages in one or many others. The queuing is best
  achieved using QMQP.
  SMTP is too slow because it degrades queuing speed
  exponentially with
  the number of recipients.
 
  Anyway in a network with one server for queueing
  (where ezmlm was) and 8
  servers for delivery, it could queue 10.000 messages
  per minute using
  SMTP. With QMQP it would be much faster queueing
  because it would not
  expand VERP addresses and would only queue one
  message in the delivery
  servers.
 
  The actual delivery it depends a lot on the Internet
  link you have and
  the connectivity with the remote servers. Bouncing
  and hard to connect
  servers make it very slow. That is why it is
  important to prune the
  bouncing addresses from your mailing lists.
 
  ezmlm process is reasonably good handling bounces
  but I would not
  recommend starting a mailing list with a large
  number of subscribers
  without first pruning it because the last retry
  message that is sent to
  all bouncing addresses after 11 days (1.000.000
  seconds) may choke your
  queuing server because it send out individual
  messages and if there are
  many bouncing addresses that can make your machine
  and network choke
  with very high traffic.
 
  Trust me, I had to put up with the embarrassment of
  choking a newsletter
  server with 1/3 of near 300.000 subscribers of MTV
  Brasil newsletter!
  Can you imagine almost 100.000 subscribers being
  mailed and bouncing at
  the same time. (Gulp!) Living and learning. :-)
 
 
  Regards,
  Manuel Lemos
  
   - Original Message -
   From: Manuel Lemos [EMAIL PROTECTED]
   To: Ed Lazor [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED];
  [EMAIL PROTECTED]
   Sent: Saturday, February 02, 2002 9:09 PM
   Subject: Re: [PHP] Re: Sending an e-mail to 1,000
  people
  
Hello,
   
Ed Lazor wrote:

 At 06:25 PM 2/2/2002 -0500, Chris Cocuzzo
  wrote:
 Godamnit. Shut-up about this already for
  godsakes and answer the
 original question!!

 LOL  hehe good point Chris.
   
Aleluia, somebody sensible! :-)
   
   
 Ben Clumeck [EMAIL PROTECTED] wrote in
  message
   I would like to send an e-mail (the same
  e-mail) to 1,000 different
   people.  I want each persons name to be in
  the To: field.  Is
   there a
  way to
   customize it to where it can say Dear
  (having a different
   persons name
   corresponding to an e-mail address) so
  that it looks customized.

 Ben, how you approach this will depend on how
  you have the data
 stored.  Let's assume two things:  you have
  the e-mail addresses and
   names
 in a database and know how to retrieve and
  store them into the variables
 $email and $name.  That said, create the body
  of your text:

 $body = 
 Dear $name,

 Here are recent developments on our web
  site... etc.
 ;

 Then use the mail function
   (http://www.php.net/manual/en/function.mail.php)
 to send the letter to the person like this:

 mail($email, Site update, $body, From:
  [EMAIL PROTECTED]);

 The next thing you'll probably start wondering
  is how to send fancy
   e-mail
 instead of those generic text based ones...
  PHPBuilder has an article
 you'll want to check out located here:

 
 http://www.phpbuilder.com/columns/kartic2807.php3.
   
I do not advice anybody to send personalized
  bulk mail, even less in
PHP. It will take a lot of time to just queue
  the message in the local
relay mail server and since each message has to
  be stored separately in
the mail server queue disk consuming a lot of
  space.
   
What I recommend is to just queue a single
  message with all recepients
in Bcc:. This is better done with qmail using
  qmail-inject because you
do not have to actually add Bcc: headers to the
  message, just the
recipients addresses, one per line,  and then
  headers and the body of
the message. You may want to try this class for
  composing and sending
MIME messages

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-04 Thread Anas Mughal

What would be the easiest and more effective way to
check for bouncing email addresses?
Thank you.



--- Manuel Lemos [EMAIL PROTECTED] wrote:
 Hello,
 
 B Richards wrote:
  
  How many emails per hour can people generate on a
 typical dedicated server?
  on qmail? on smtp?
 
 It depends on many things. Anyway, queueing is one
 thing and delivering
 is another. Queuing and delivering from the same
 machine is usually slow
 because it requires the server to resolve the domain
 and connecting with
 each recipient MX to deliver the messages. If the
 connection is slow,
 everything is stalled.
 
 For very large recipient lists like large mailing
 lists sites like
 eGroups, the recommended setup is at least one
 server for queuing the
 messages in one or many others. The queuing is best
 achieved using QMQP.
 SMTP is too slow because it degrades queuing speed
 exponentially with
 the number of recipients.
 
 Anyway in a network with one server for queueing
 (where ezmlm was) and 8
 servers for delivery, it could queue 10.000 messages
 per minute using
 SMTP. With QMQP it would be much faster queueing
 because it would not
 expand VERP addresses and would only queue one
 message in the delivery
 servers.
 
 The actual delivery it depends a lot on the Internet
 link you have and
 the connectivity with the remote servers. Bouncing
 and hard to connect
 servers make it very slow. That is why it is
 important to prune the
 bouncing addresses from your mailing lists.
 
 ezmlm process is reasonably good handling bounces
 but I would not
 recommend starting a mailing list with a large
 number of subscribers
 without first pruning it because the last retry
 message that is sent to
 all bouncing addresses after 11 days (1.000.000
 seconds) may choke your
 queuing server because it send out individual
 messages and if there are
 many bouncing addresses that can make your machine
 and network choke
 with very high traffic.
 
 Trust me, I had to put up with the embarrassment of
 choking a newsletter
 server with 1/3 of near 300.000 subscribers of MTV
 Brasil newsletter!
 Can you imagine almost 100.000 subscribers being
 mailed and bouncing at
 the same time. (Gulp!) Living and learning. :-)
 
 
 Regards,
 Manuel Lemos
  
  - Original Message -
  From: Manuel Lemos [EMAIL PROTECTED]
  To: Ed Lazor [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED];
 [EMAIL PROTECTED]
  Sent: Saturday, February 02, 2002 9:09 PM
  Subject: Re: [PHP] Re: Sending an e-mail to 1,000
 people
  
   Hello,
  
   Ed Lazor wrote:
   
At 06:25 PM 2/2/2002 -0500, Chris Cocuzzo
 wrote:
Godamnit. Shut-up about this already for
 godsakes and answer the
original question!!
   
LOL  hehe good point Chris.
  
   Aleluia, somebody sensible! :-)
  
  
Ben Clumeck [EMAIL PROTECTED] wrote in
 message
  I would like to send an e-mail (the same
 e-mail) to 1,000 different
  people.  I want each persons name to be in
 the To: field.  Is
  there a
 way to
  customize it to where it can say Dear
 (having a different
  persons name
  corresponding to an e-mail address) so
 that it looks customized.
   
Ben, how you approach this will depend on how
 you have the data
stored.  Let's assume two things:  you have
 the e-mail addresses and
  names
in a database and know how to retrieve and
 store them into the variables
$email and $name.  That said, create the body
 of your text:
   
$body = 
Dear $name,
   
Here are recent developments on our web
 site... etc.
;
   
Then use the mail function
  (http://www.php.net/manual/en/function.mail.php)
to send the letter to the person like this:
   
mail($email, Site update, $body, From: 
 [EMAIL PROTECTED]);
   
The next thing you'll probably start wondering
 is how to send fancy
  e-mail
instead of those generic text based ones... 
 PHPBuilder has an article
you'll want to check out located here:
   

http://www.phpbuilder.com/columns/kartic2807.php3.
  
   I do not advice anybody to send personalized
 bulk mail, even less in
   PHP. It will take a lot of time to just queue
 the message in the local
   relay mail server and since each message has to
 be stored separately in
   the mail server queue disk consuming a lot of
 space.
  
   What I recommend is to just queue a single
 message with all recepients
   in Bcc:. This is better done with qmail using
 qmail-inject because you
   do not have to actually add Bcc: headers to the
 message, just the
   recipients addresses, one per line,  and then
 headers and the body of
   the message. You may want to try this class for
 composing and sending
   MIME messages. It has subclasses for queing with
 PHP mail function, SMTP
   server, sendmail and qmail.
  
  

http://phpclasses.upperdesign.com/browse.html/package/9
  
   If you can use it, I recommend to use qmail
 because it is much faster
   than the other alternatives to queue message to
 be sent to many
   recipients and also

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-04 Thread Erik Price


On Saturday, February 2, 2002, at 06:05  PM, Sterling Hughes wrote:

 I think you are confused...  Unsolicited e-mail is in fact the
 definition of spam!


Semantics war!

You're both right... although originally, it meant repetitive blasts of 
identical material (to newsgroups).  I'm pretty sure most people use it 
these days to describe any unsolicted email.


Let's see what the Jargon File says (one of the most venerable sources 
for answers to disputes like this)...

spam vt.,vi.,n.

[from Monty Python's Flying Circus] 1. To crash a program by 
overrunning a fixed-size buffer with excessively large input data. See 
also buffer overflow, overrun screw, smash the stack. 2. To cause a 
newsgroup to be flooded with irrelevant or inappropriate messages. You 
can spam a newsgroup with as little as one well- (or ill-) planned 
message (e.g. asking What do you think of abortion? on soc.women). 
This is often done with cross-posting (e.g. any message which is 
cross-posted to alt.rush-limbaugh and alt.politics.homosexuality will 
almost inevitably spam both groups). This overlaps with troll behavior; 
the latter more specific term has become more common. 3. To send many 
identical or nearly-identical messages separately to a large number of 
Usenet newsgroups. This is more specifically called `ECP', Excessive 
Cross-Posting. This is one sure way to infuriate nearly everyone on the 
Net. See also velveeta and jello. 4. To bombard a newsgroup with 
multiple copies of a message. This is more specifically called `EMP', 
Excessive Multi-Posting. 5. To mass-mail unrequested identical or 
nearly-identical email messages, particularly those containing 
advertising. Especially used when the mail addresses have been culled 
from network traffic or databases without the consent of the recipients. 
Synonyms include UCE, UBE. 6. Any large, annoying, quantity of output. 
For instance, someone on IRC who walks away from their screen and comes 
back to find 200 lines of text might say Oh no, spam.

The later definitions have become much more prevalent as the Internet 
has opened up to non-techies, and to most people senses 3 4 and 5 are 
now primary. All three behaviors are considered abuse of the net, and 
are almost universally grounds for termination of the originator's email 
account or network connection. In these senses the term `spam' has gone 
mainstream, though without its original sense or folkloric freight - 
there is apparently a widespread myth among lusers that spamming is 
what happens when you dump cans of Spam into a revolving fan. Hormel, 
the makers of Spam, have published a surprisingly enlightened position 
statement on the Internet usage.





Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


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




Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-03 Thread Manuel Lemos

Hello,

B Richards wrote:
 
 How many emails per hour can people generate on a typical dedicated server?
 on qmail? on smtp?

It depends on many things. Anyway, queueing is one thing and delivering
is another. Queuing and delivering from the same machine is usually slow
because it requires the server to resolve the domain and connecting with
each recipient MX to deliver the messages. If the connection is slow,
everything is stalled.

For very large recipient lists like large mailing lists sites like
eGroups, the recommended setup is at least one server for queuing the
messages in one or many others. The queuing is best achieved using QMQP.
SMTP is too slow because it degrades queuing speed exponentially with
the number of recipients.

Anyway in a network with one server for queueing (where ezmlm was) and 8
servers for delivery, it could queue 10.000 messages per minute using
SMTP. With QMQP it would be much faster queueing because it would not
expand VERP addresses and would only queue one message in the delivery
servers.

The actual delivery it depends a lot on the Internet link you have and
the connectivity with the remote servers. Bouncing and hard to connect
servers make it very slow. That is why it is important to prune the
bouncing addresses from your mailing lists.

ezmlm process is reasonably good handling bounces but I would not
recommend starting a mailing list with a large number of subscribers
without first pruning it because the last retry message that is sent to
all bouncing addresses after 11 days (1.000.000 seconds) may choke your
queuing server because it send out individual messages and if there are
many bouncing addresses that can make your machine and network choke
with very high traffic.

Trust me, I had to put up with the embarrassment of choking a newsletter
server with 1/3 of near 300.000 subscribers of MTV Brasil newsletter!
Can you imagine almost 100.000 subscribers being mailed and bouncing at
the same time. (Gulp!) Living and learning. :-)


Regards,
Manuel Lemos
 
 - Original Message -
 From: Manuel Lemos [EMAIL PROTECTED]
 To: Ed Lazor [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Saturday, February 02, 2002 9:09 PM
 Subject: Re: [PHP] Re: Sending an e-mail to 1,000 people
 
  Hello,
 
  Ed Lazor wrote:
  
   At 06:25 PM 2/2/2002 -0500, Chris Cocuzzo wrote:
   Godamnit. Shut-up about this already for godsakes and answer the
   original question!!
  
   LOL  hehe good point Chris.
 
  Aleluia, somebody sensible! :-)
 
 
   Ben Clumeck [EMAIL PROTECTED] wrote in message
 I would like to send an e-mail (the same e-mail) to 1,000 different
 people.  I want each persons name to be in the To: field.  Is
 there a
way to
 customize it to where it can say Dear (having a different
 persons name
 corresponding to an e-mail address) so that it looks customized.
  
   Ben, how you approach this will depend on how you have the data
   stored.  Let's assume two things:  you have the e-mail addresses and
 names
   in a database and know how to retrieve and store them into the variables
   $email and $name.  That said, create the body of your text:
  
   $body = 
   Dear $name,
  
   Here are recent developments on our web site... etc.
   ;
  
   Then use the mail function
 (http://www.php.net/manual/en/function.mail.php)
   to send the letter to the person like this:
  
   mail($email, Site update, $body, From:  [EMAIL PROTECTED]);
  
   The next thing you'll probably start wondering is how to send fancy
 e-mail
   instead of those generic text based ones...  PHPBuilder has an article
   you'll want to check out located here:
   http://www.phpbuilder.com/columns/kartic2807.php3.
 
  I do not advice anybody to send personalized bulk mail, even less in
  PHP. It will take a lot of time to just queue the message in the local
  relay mail server and since each message has to be stored separately in
  the mail server queue disk consuming a lot of space.
 
  What I recommend is to just queue a single message with all recepients
  in Bcc:. This is better done with qmail using qmail-inject because you
  do not have to actually add Bcc: headers to the message, just the
  recipients addresses, one per line,  and then headers and the body of
  the message. You may want to try this class for composing and sending
  MIME messages. It has subclasses for queing with PHP mail function, SMTP
  server, sendmail and qmail.
 
  http://phpclasses.upperdesign.com/browse.html/package/9
 
  If you can use it, I recommend to use qmail because it is much faster
  than the other alternatives to queue message to be sent to many
  recipients and also provides very good means to figure exactly which
  addresses are bouncing your messages so you can process them eventually
  unsubscribing the users in question, thanks to its VERP capability
  (Variable Envelope Return Path). http://www.qmail.org/
 
  If you want to send messages regularly to the same group of users

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-03 Thread Manuel Lemos

Hello,

B Richards wrote:
 
 How many emails per hour can people generate on a typical dedicated server?
 on qmail? on smtp?

It depends on many things. Anyway, queueing is one thing and delivering
is another. Queuing and delivering from the same machine is usually slow
because it requires the server to resolve the domain and connecting with
each recipient MX to deliver the messages. If the connection is slow,
everything is stalled.

For very large recipient lists like large mailing lists sites like
eGroups, the recommended setup is at least one server for queuing the
messages in one or many others. The queuing is best achieved using QMQP.
SMTP is too slow because it degrades queuing speed exponentially with
the number of recipients.

Anyway in a network with one server for queueing (where ezmlm was) and 8
servers for delivery, it could queue 10.000 messages per minute using
SMTP. With QMQP it would be much faster queueing because it would not
expand VERP addresses and would only queue one message in the delivery
servers.

The actual delivery it depends a lot on the Internet link you have and
the connectivity with the remote servers. Bouncing and hard to connect
servers make it very slow. That is why it is important to prune the
bouncing addresses from your mailing lists.

ezmlm process is reasonably good handling bounces but I would not
recommend starting a mailing list with a large number of subscribers
without first pruning it because the last retry message that is sent to
all bouncing addresses after 11 days (1.000.000 seconds) may choke your
queuing server because it send out individual messages and if there are
many bouncing addresses that can make your machine and network choke
with very high traffic.

Trust me, I had to put up with the embarrassment of choking a newsletter
server with 1/3 of near 300.000 subscribers of MTV Brasil newsletter!
Can you imagine almost 100.000 subscribers being mailed and bouncing at
the same time. (Gulp!) Living and learning. :-)


Regards,
Manuel Lemos
 
 - Original Message -
 From: Manuel Lemos [EMAIL PROTECTED]
 To: Ed Lazor [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Saturday, February 02, 2002 9:09 PM
 Subject: Re: [PHP] Re: Sending an e-mail to 1,000 people
 
  Hello,
 
  Ed Lazor wrote:
  
   At 06:25 PM 2/2/2002 -0500, Chris Cocuzzo wrote:
   Godamnit. Shut-up about this already for godsakes and answer the
   original question!!
  
   LOL  hehe good point Chris.
 
  Aleluia, somebody sensible! :-)
 
 
   Ben Clumeck [EMAIL PROTECTED] wrote in message
 I would like to send an e-mail (the same e-mail) to 1,000 different
 people.  I want each persons name to be in the To: field.  Is
 there a
way to
 customize it to where it can say Dear (having a different
 persons name
 corresponding to an e-mail address) so that it looks customized.
  
   Ben, how you approach this will depend on how you have the data
   stored.  Let's assume two things:  you have the e-mail addresses and
 names
   in a database and know how to retrieve and store them into the variables
   $email and $name.  That said, create the body of your text:
  
   $body = 
   Dear $name,
  
   Here are recent developments on our web site... etc.
   ;
  
   Then use the mail function
 (http://www.php.net/manual/en/function.mail.php)
   to send the letter to the person like this:
  
   mail($email, Site update, $body, From:  [EMAIL PROTECTED]);
  
   The next thing you'll probably start wondering is how to send fancy
 e-mail
   instead of those generic text based ones...  PHPBuilder has an article
   you'll want to check out located here:
   http://www.phpbuilder.com/columns/kartic2807.php3.
 
  I do not advice anybody to send personalized bulk mail, even less in
  PHP. It will take a lot of time to just queue the message in the local
  relay mail server and since each message has to be stored separately in
  the mail server queue disk consuming a lot of space.
 
  What I recommend is to just queue a single message with all recepients
  in Bcc:. This is better done with qmail using qmail-inject because you
  do not have to actually add Bcc: headers to the message, just the
  recipients addresses, one per line,  and then headers and the body of
  the message. You may want to try this class for composing and sending
  MIME messages. It has subclasses for queing with PHP mail function, SMTP
  server, sendmail and qmail.
 
  http://phpclasses.upperdesign.com/browse.html/package/9
 
  If you can use it, I recommend to use qmail because it is much faster
  than the other alternatives to queue message to be sent to many
  recipients and also provides very good means to figure exactly which
  addresses are bouncing your messages so you can process them eventually
  unsubscribing the users in question, thanks to its VERP capability
  (Variable Envelope Return Path). http://www.qmail.org/
 
  If you want to send messages regularly to the same group of users

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread rpruitt

Hmmm.

I've also heard it described as a newsletter.
Or a mailing list.

A good program that does this is http://www.kingmailer.com/

Thirty bucks, with a built-in SMPT server.


Lars Wilhelmsen wrote:

 Ben Clumeck [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  I would like to send an e-mail (the same e-mail) to 1,000 different
 people.
  I want each persons name to be in the To: field.  Is there a way to
  customize it to where it can say Dear (having a different persons name
  corresponding to an e-mail address) so that it looks customized.
 
  Thanks,
 
  Ben
 

 What you are describing is called SPAMMING, something
 we really, really dislike.

 Answer to your question: yes, it's pretty simple, but PHP
 is generally a language for web applications, I think Perl
 is more suited for your needs.

 And no, I do not want to teach anyone how to send 1,000
 email to 1,000 different persons.

 Regards,

 Lars WIlhelmsen



-- 
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] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Lars Torben Wilson

On Sat, 2002-02-02 at 13:46, Lars Wilhelmsen wrote:
 Ben Clumeck [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  I would like to send an e-mail (the same e-mail) to 1,000 different
 people.
  I want each persons name to be in the To: field.  Is there a way to
  customize it to where it can say Dear (having a different persons name
  corresponding to an e-mail address) so that it looks customized.
 
  Thanks,
 
  Ben
 
 
 What you are describing is called SPAMMING, something
 we really, really dislike.

There are several very good reasons to need to do this.

 Answer to your question: yes, it's pretty simple, but PHP
 is generally a language for web applications, I think Perl
 is more suited for your needs.

PHP would suffice here just fine--and we are trying to dispel the
myth that PHP is a web-only language. However, in a case like
this, I'd suggest checking out a proper mailing list manager
such as majordomo or ezmlm.


Torben
 
 And no, I do not want to teach anyone how to send 1,000
 email to 1,000 different persons.
 
 Regards,
 
 Lars WIlhelmsen
 
 
 
 -- 
 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]
 
-- 
 Torben Wilson [EMAIL PROTECTED]
 http://www.thebuttlesschaps.com
 http://www.hybrid17.com
 http://www.inflatableeye.com
 +1.604.709.0506


-- 
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: Sending an e-mail to 1,000 people

2002-02-02 Thread Manuel Lemos

Hello,

Lars Wilhelmsen wrote:
 
 Ben Clumeck [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  I would like to send an e-mail (the same e-mail) to 1,000 different
 people.
  I want each persons name to be in the To: field.  Is there a way to
  customize it to where it can say Dear (having a different persons name
  corresponding to an e-mail address) so that it looks customized.
 
  Thanks,
 
  Ben
 
 
 What you are describing is called SPAMMING, something
 we really, really dislike.

You are confused. Spamming is sending the same message to the same
person more than once.

What I think you mean is unsolicited e-mail. The original poster did not
mention whether the people he wants to mail want to receive his
messages, so you can't assume that is necessarily unsolicited.

 
 Answer to your question: yes, it's pretty simple, but PHP
 is generally a language for web applications, I think Perl
 is more suited for your needs.

There is absolutely nothing in sending messages to thousands of users in
Perl that can't be done in PHP.

I am the developer of the PHP classes site. The site sends out regularly
notifications about new classes made available to about 30.000 users.
Each notification on takes 4 seconds to queue. The local mail server
takes care of delivery.

 
 And no, I do not want to teach anyone how to send 1,000
 email to 1,000 different persons.

So why bother posting?!?

Regards,
Manuel Lemos

-- 
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] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Ed Lazor


   I would like to send an e-mail (the same e-mail) to 1,000 different
  people.
   I want each persons name to be in the To: field.  Is there a way to
   customize it to where it can say Dear (having a different persons 
 name
   corresponding to an e-mail address) so that it looks customized.
  
   Thanks,
  
   Ben
  
 
  What you are describing is called SPAMMING, something
  we really, really dislike.

There are several very good reasons to need to do this.

One example is sending an update to all of the members who have created 
accounts on your site.  This wouldn't be considered spamming, because they 
have requested that you help keep them informed.

  Answer to your question: yes, it's pretty simple, but PHP
  is generally a language for web applications, I think Perl
  is more suited for your needs.

PHP would suffice here just fine--and we are trying to dispel the
myth that PHP is a web-only language. However, in a case like
this, I'd suggest checking out a proper mailing list manager
such as majordomo or ezmlm.

Another good one is mailman.

-Ed



-- 
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] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Sterling Hughes

On Sat, 2002-02-02 at 17:42, Manuel Lemos wrote:
 Hello,
 
 Lars Wilhelmsen wrote:
  
  Ben Clumeck [EMAIL PROTECTED] wrote in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
   I would like to send an e-mail (the same e-mail) to 1,000 different
  people.
   I want each persons name to be in the To: field.  Is there a way to
   customize it to where it can say Dear (having a different persons name
   corresponding to an e-mail address) so that it looks customized.
  
   Thanks,
  
   Ben
  
  
  What you are describing is called SPAMMING, something
  we really, really dislike.
 
 You are confused. Spamming is sending the same message to the same
 person more than once.
 
 What I think you mean is unsolicited e-mail. The original poster did not
 mention whether the people he wants to mail want to receive his
 messages, so you can't assume that is necessarily unsolicited.
 

I think you are confused...  Unsolicited e-mail is in fact the
definition of spam!

Secondly, reasonable assumptions can often be made, for example, when I
see a message from you, its almost guaranteed that you'll be plugging
PHPClasses, or Metabase, or both.  Assumptions are why killfiles were
invented.

From the users original post, the likely assumption is that he is using
it to send out some sort of spam/product announcement.

-Sterling

-- 
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] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Chris Cocuzzo

Godamnit. Shut-up about this already for godsakes and answer the
original question!!



-Original Message-
From: Sterling Hughes [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, February 02, 2002 6:05 PM
To: Manuel Lemos
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Sending an e-mail to 1,000 people

On Sat, 2002-02-02 at 17:42, Manuel Lemos wrote:
 Hello,
 
 Lars Wilhelmsen wrote:
  
  Ben Clumeck [EMAIL PROTECTED] wrote in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
   I would like to send an e-mail (the same e-mail) to 1,000
different
  people.
   I want each persons name to be in the To: field.  Is there a way
to
   customize it to where it can say Dear (having a different
persons name
   corresponding to an e-mail address) so that it looks customized.
  
   Thanks,
  
   Ben
  
  
  What you are describing is called SPAMMING, something
  we really, really dislike.
 
 You are confused. Spamming is sending the same message to the same
 person more than once.
 
 What I think you mean is unsolicited e-mail. The original poster did
not
 mention whether the people he wants to mail want to receive his
 messages, so you can't assume that is necessarily unsolicited.
 

I think you are confused...  Unsolicited e-mail is in fact the
definition of spam!

Secondly, reasonable assumptions can often be made, for example, when I
see a message from you, its almost guaranteed that you'll be plugging
PHPClasses, or Metabase, or both.  Assumptions are why killfiles were
invented.

From the users original post, the likely assumption is that he is using
it to send out some sort of spam/product announcement.

-Sterling

-- 
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 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] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Ed Lazor

At 06:25 PM 2/2/2002 -0500, Chris Cocuzzo wrote:
Godamnit. Shut-up about this already for godsakes and answer the
original question!!

LOL  hehe good point Chris.

Ben Clumeck [EMAIL PROTECTED] wrote in message
  I would like to send an e-mail (the same e-mail) to 1,000 different
  people.  I want each persons name to be in the To: field.  Is there a 
 way to
  customize it to where it can say Dear (having a different persons name
  corresponding to an e-mail address) so that it looks customized.

Ben, how you approach this will depend on how you have the data 
stored.  Let's assume two things:  you have the e-mail addresses and names 
in a database and know how to retrieve and store them into the variables 
$email and $name.  That said, create the body of your text:

$body = 
Dear $name,

Here are recent developments on our web site... etc.
;

Then use the mail function (http://www.php.net/manual/en/function.mail.php) 
to send the letter to the person like this:

mail($email, Site update, $body, From:  [EMAIL PROTECTED]);

The next thing you'll probably start wondering is how to send fancy e-mail 
instead of those generic text based ones...  PHPBuilder has an article 
you'll want to check out located here: 
http://www.phpbuilder.com/columns/kartic2807.php3.

-Ed


-- 
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] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Manuel Lemos

Hello,

Sterling Hughes wrote:
 
 On Sat, 2002-02-02 at 17:42, Manuel Lemos wrote:
  Hello,
 
  Lars Wilhelmsen wrote:
  
   Ben Clumeck [EMAIL PROTECTED] wrote in message
   [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I would like to send an e-mail (the same e-mail) to 1,000 different
   people.
I want each persons name to be in the To: field.  Is there a way to
customize it to where it can say Dear (having a different persons name
corresponding to an e-mail address) so that it looks customized.
   
Thanks,
   
Ben
   
  
   What you are describing is called SPAMMING, something
   we really, really dislike.
 
  You are confused. Spamming is sending the same message to the same
  person more than once.
 
  What I think you mean is unsolicited e-mail. The original poster did not
  mention whether the people he wants to mail want to receive his
  messages, so you can't assume that is necessarily unsolicited.
 
 
 I think you are confused...  Unsolicited e-mail is in fact the
 definition of spam!

No, with time, people started confusing definitions. You may not be
aware of it because you were too young and by that time you probably
even did not knew about what was the Internet. AFAIK, spam was, in the
early days when there was not even the Web, what was called to
cross-posting the same message to multiple newsgroups. Remeber Monty
Python sketch, they were complaining of more of the same spam.

Since often spam is also unsolicited, people started confusing concepts.
In mailing lists and newsgroups like this, messages are only unsolicited
when they become completely off-topic, which is not the case. You ought
to study a little history first before you decide to make any of my
message yet another pointless personal attack.


 Secondly, reasonable assumptions can often be made, for example, when I
 see a message from you, its almost guaranteed that you'll be plugging
 PHPClasses, or Metabase, or both.  Assumptions are why killfiles were
 invented.

Sterling, you seem to be sick if you are watching every message I post
to jumping in to attack me or my work.

I was not even promoting the PHP Classes site. If I were I would post
its URL, which I didn't. I was sharing my knowledge on sending messages
to a large number of recipients. It happens that my knowledge on bulk
mailing is based on my experience sending notifications to the site
subscribers.

Since you are so obcessed to attack me probably because of possible
stupid envy, you could only see my message as another plug to promote
the site.

Sterling, get a grip, you would do much better in get rid of those
unjustifiable sick feelings that you hold against somebody like myself
that is still bothering to contribute to the PHP community providing a
PHP component sharing site that is accessed by many tens of thousands of
PHP users.

Another thing, is that you are so ungrateful because whatever I do to
let people know about the PHP Classes site is to bring people to the
site not only to share and benefit for each other PHP components, but
also to provide a substantial audience not only to the components that
the users share, but also to the reviews of PHP books like your own: PHP
Developers Cookbook.

http://phpclasses.upperdesign.com/products.html/id/0672319241

I even tried to make a nice review, as usually I do with all books I
review because I know that it takes a lot of time to write a good book
and in the time you spent writing it you would probably earn more money
working on some paid PHP project than whatever you may ever earn from
selling the book.

I know that it isn't much, but 710 users went to Amazon eventually to
buy the your book because of this review. It is an humble contribution
to compensate for your effort and of other PHP book writers.

Anyway, I am considering discontinuing this section of the PHP Classes
site because it is not providing enough income to cover for the site
expenses. Now, after I read your personal attacks I wonder why am I
waiting to discontinue it when all I get for attempting to promote the
site to bring in more audience also for the book reviews, is just
personal attacks from authors like yourself?

Of course this hurts me bad, but I am kind of used to the hostility that
I get of envious unsensible PHP developers like yourself.

Right, now, if you do not have anything nicer to say to me, please don't
even bother to mail me.


Regards,
Manuel Lemos

-- 
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] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread rpruitt

I don't know the nature of your feud, but Manuel is right on here, as far as I'm
concerned. Sterling's comments were unwarranted, unjust, and stupid.

Rise above it man.

Manuel Lemos wrote:

 Hello,

 Sterling Hughes wrote:
 
  On Sat, 2002-02-02 at 17:42, Manuel Lemos wrote:
   Hello,
  
   Lars Wilhelmsen wrote:
   
Ben Clumeck [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I would like to send an e-mail (the same e-mail) to 1,000 different
people.
 I want each persons name to be in the To: field.  Is there a way to
 customize it to where it can say Dear (having a different persons name
 corresponding to an e-mail address) so that it looks customized.

 Thanks,

 Ben

   
What you are describing is called SPAMMING, something
we really, really dislike.
  
   You are confused. Spamming is sending the same message to the same
   person more than once.
  
   What I think you mean is unsolicited e-mail. The original poster did not
   mention whether the people he wants to mail want to receive his
   messages, so you can't assume that is necessarily unsolicited.
  
 
  I think you are confused...  Unsolicited e-mail is in fact the
  definition of spam!

 No, with time, people started confusing definitions. You may not be
 aware of it because you were too young and by that time you probably
 even did not knew about what was the Internet. AFAIK, spam was, in the
 early days when there was not even the Web, what was called to
 cross-posting the same message to multiple newsgroups. Remeber Monty
 Python sketch, they were complaining of more of the same spam.

 Since often spam is also unsolicited, people started confusing concepts.
 In mailing lists and newsgroups like this, messages are only unsolicited
 when they become completely off-topic, which is not the case. You ought
 to study a little history first before you decide to make any of my
 message yet another pointless personal attack.

  Secondly, reasonable assumptions can often be made, for example, when I
  see a message from you, its almost guaranteed that you'll be plugging
  PHPClasses, or Metabase, or both.  Assumptions are why killfiles were
  invented.

 Sterling, you seem to be sick if you are watching every message I post
 to jumping in to attack me or my work.

 I was not even promoting the PHP Classes site. If I were I would post
 its URL, which I didn't. I was sharing my knowledge on sending messages
 to a large number of recipients. It happens that my knowledge on bulk
 mailing is based on my experience sending notifications to the site
 subscribers.

 Since you are so obcessed to attack me probably because of possible
 stupid envy, you could only see my message as another plug to promote
 the site.

 Sterling, get a grip, you would do much better in get rid of those
 unjustifiable sick feelings that you hold against somebody like myself
 that is still bothering to contribute to the PHP community providing a
 PHP component sharing site that is accessed by many tens of thousands of
 PHP users.

 Another thing, is that you are so ungrateful because whatever I do to
 let people know about the PHP Classes site is to bring people to the
 site not only to share and benefit for each other PHP components, but
 also to provide a substantial audience not only to the components that
 the users share, but also to the reviews of PHP books like your own: PHP
 Developers Cookbook.

 http://phpclasses.upperdesign.com/products.html/id/0672319241

 I even tried to make a nice review, as usually I do with all books I
 review because I know that it takes a lot of time to write a good book
 and in the time you spent writing it you would probably earn more money
 working on some paid PHP project than whatever you may ever earn from
 selling the book.

 I know that it isn't much, but 710 users went to Amazon eventually to
 buy the your book because of this review. It is an humble contribution
 to compensate for your effort and of other PHP book writers.

 Anyway, I am considering discontinuing this section of the PHP Classes
 site because it is not providing enough income to cover for the site
 expenses. Now, after I read your personal attacks I wonder why am I
 waiting to discontinue it when all I get for attempting to promote the
 site to bring in more audience also for the book reviews, is just
 personal attacks from authors like yourself?

 Of course this hurts me bad, but I am kind of used to the hostility that
 I get of envious unsensible PHP developers like yourself.

 Right, now, if you do not have anything nicer to say to me, please don't
 even bother to mail me.

 Regards,
 Manuel Lemos

 --
 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 General Mailing List (http://www.php.net/)
To 

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Manuel Lemos

Hello,

Ed Lazor wrote:
 
 At 06:25 PM 2/2/2002 -0500, Chris Cocuzzo wrote:
 Godamnit. Shut-up about this already for godsakes and answer the
 original question!!
 
 LOL  hehe good point Chris.

Aleluia, somebody sensible! :-)

 
 Ben Clumeck [EMAIL PROTECTED] wrote in message
   I would like to send an e-mail (the same e-mail) to 1,000 different
   people.  I want each persons name to be in the To: field.  Is there a
  way to
   customize it to where it can say Dear (having a different persons name
   corresponding to an e-mail address) so that it looks customized.
 
 Ben, how you approach this will depend on how you have the data
 stored.  Let's assume two things:  you have the e-mail addresses and names
 in a database and know how to retrieve and store them into the variables
 $email and $name.  That said, create the body of your text:
 
 $body = 
 Dear $name,
 
 Here are recent developments on our web site... etc.
 ;
 
 Then use the mail function (http://www.php.net/manual/en/function.mail.php)
 to send the letter to the person like this:
 
 mail($email, Site update, $body, From:  [EMAIL PROTECTED]);
 
 The next thing you'll probably start wondering is how to send fancy e-mail
 instead of those generic text based ones...  PHPBuilder has an article
 you'll want to check out located here:
 http://www.phpbuilder.com/columns/kartic2807.php3.

I do not advice anybody to send personalized bulk mail, even less in
PHP. It will take a lot of time to just queue the message in the local
relay mail server and since each message has to be stored separately in
the mail server queue disk consuming a lot of space.

What I recommend is to just queue a single message with all recepients
in Bcc:. This is better done with qmail using qmail-inject because you
do not have to actually add Bcc: headers to the message, just the
recipients addresses, one per line,  and then headers and the body of
the message. You may want to try this class for composing and sending
MIME messages. It has subclasses for queing with PHP mail function, SMTP
server, sendmail and qmail.

http://phpclasses.upperdesign.com/browse.html/package/9

If you can use it, I recommend to use qmail because it is much faster
than the other alternatives to queue message to be sent to many
recipients and also provides very good means to figure exactly which
addresses are bouncing your messages so you can process them eventually
unsubscribing the users in question, thanks to its VERP capability
(Variable Envelope Return Path). http://www.qmail.org/

If you want to send messages regularly to the same group of users, I
recommend that you use ezmlm-idx because it provides very efficient and
secure way to handle subscriptions and messages bouncings.
http://www.ezmlm.org/

I don't recommend the patches of ezmlm that let it be interfaced with
user lists maintained in MySQL or PostgreSQL. I doubt that those
databases are faster to query than DJB's cdb user list databases. Also,
I don't think that most people want the user to be deleted from a
database if it's address is bouncing for too long (11 days).

Anyway, you may want to look into this PHP web interface to create and
setup options of ezmlm mailing lists. It also comes with a SOAP server
interface that you can use to provide Web services to subscribe,
unsubscriber, verify and count users in ezmlm mailing lists.

http://phpclasses.upperdesign.com/browse.html/package/177

Regards,
Manuel Lemos

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




Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Michael Sims

At 11:42 PM 2/2/2002 -0200, Manuel Lemos wrote:
  I think you are confused...  Unsolicited e-mail is in fact the
  definition of spam!

No, with time, people started confusing definitions. You may not be
aware of it because you were too young and by that time you probably
even did not knew about what was the Internet. AFAIK, spam was, in the
early days when there was not even the Web, what was called to
cross-posting the same message to multiple newsgroups. Remeber Monty
Python sketch, they were complaining of more of the same spam.

Yep.  Here's an excerpt from the Email Abuse FAQ:

'First, a short lesson on the term SPAM. Spam describes a particular kind 
of Usenet posting (and canned spiced ham), but is now often used to 
describe many kinds of inappropriate activities, including some 
email-related events. It is technically incorrect to use spam to describe 
email abuse, although attempting to correct the practice would amount to 
tilting at windmills.'

http://members.aol.com/emailfaq/emailfaq.html


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




Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread B Richards

How many emails per hour can people generate on a typical dedicated server?
on qmail? on smtp?


- Original Message -
From: Manuel Lemos [EMAIL PROTECTED]
To: Ed Lazor [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, February 02, 2002 9:09 PM
Subject: Re: [PHP] Re: Sending an e-mail to 1,000 people


 Hello,

 Ed Lazor wrote:
 
  At 06:25 PM 2/2/2002 -0500, Chris Cocuzzo wrote:
  Godamnit. Shut-up about this already for godsakes and answer the
  original question!!
 
  LOL  hehe good point Chris.

 Aleluia, somebody sensible! :-)


  Ben Clumeck [EMAIL PROTECTED] wrote in message
I would like to send an e-mail (the same e-mail) to 1,000 different
people.  I want each persons name to be in the To: field.  Is
there a
   way to
customize it to where it can say Dear (having a different
persons name
corresponding to an e-mail address) so that it looks customized.
 
  Ben, how you approach this will depend on how you have the data
  stored.  Let's assume two things:  you have the e-mail addresses and
names
  in a database and know how to retrieve and store them into the variables
  $email and $name.  That said, create the body of your text:
 
  $body = 
  Dear $name,
 
  Here are recent developments on our web site... etc.
  ;
 
  Then use the mail function
(http://www.php.net/manual/en/function.mail.php)
  to send the letter to the person like this:
 
  mail($email, Site update, $body, From:  [EMAIL PROTECTED]);
 
  The next thing you'll probably start wondering is how to send fancy
e-mail
  instead of those generic text based ones...  PHPBuilder has an article
  you'll want to check out located here:
  http://www.phpbuilder.com/columns/kartic2807.php3.

 I do not advice anybody to send personalized bulk mail, even less in
 PHP. It will take a lot of time to just queue the message in the local
 relay mail server and since each message has to be stored separately in
 the mail server queue disk consuming a lot of space.

 What I recommend is to just queue a single message with all recepients
 in Bcc:. This is better done with qmail using qmail-inject because you
 do not have to actually add Bcc: headers to the message, just the
 recipients addresses, one per line,  and then headers and the body of
 the message. You may want to try this class for composing and sending
 MIME messages. It has subclasses for queing with PHP mail function, SMTP
 server, sendmail and qmail.

 http://phpclasses.upperdesign.com/browse.html/package/9

 If you can use it, I recommend to use qmail because it is much faster
 than the other alternatives to queue message to be sent to many
 recipients and also provides very good means to figure exactly which
 addresses are bouncing your messages so you can process them eventually
 unsubscribing the users in question, thanks to its VERP capability
 (Variable Envelope Return Path). http://www.qmail.org/

 If you want to send messages regularly to the same group of users, I
 recommend that you use ezmlm-idx because it provides very efficient and
 secure way to handle subscriptions and messages bouncings.
 http://www.ezmlm.org/

 I don't recommend the patches of ezmlm that let it be interfaced with
 user lists maintained in MySQL or PostgreSQL. I doubt that those
 databases are faster to query than DJB's cdb user list databases. Also,
 I don't think that most people want the user to be deleted from a
 database if it's address is bouncing for too long (11 days).

 Anyway, you may want to look into this PHP web interface to create and
 setup options of ezmlm mailing lists. It also comes with a SOAP server
 interface that you can use to provide Web services to subscribe,
 unsubscriber, verify and count users in ezmlm mailing lists.

 http://phpclasses.upperdesign.com/browse.html/package/177

 Regards,
 Manuel Lemos

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


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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