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

2002-01-29 Thread Ben Clumeck

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


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

2002-01-29 Thread Rick Emery

yes you can by using MYSQL to store the names, PHP to generate the letters
(or you can store letter template in database as well), and PHP's mail()
function will take you home.

-Original Message-
From: Ben Clumeck [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 1:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Sending an e-mail to 1,000 people


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


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

2002-01-29 Thread Rick Emery

1.  Create a mysql database with the names.  You would have to enter all the
names and addresses into the database.

2.  Create a PHP program which would read the names from the database.  The
names would go into a variable.

3.  Using a template letter in the PHP program, insert the names (from the
variable's values) into the template.

4.  Call PHP's mail() function to send the emails.

Then, in the future, you can simply change the letter template in the PHP
script and easily send the new email to the 1000 recipients.

Note: I mean you no insult.  But, do you know how to script using PHP and
MYSQL?  If not, that's a whole other matter.

rick

-Original Message-
From: Ben Clumeck [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 3:02 PM
To: Rick Emery
Subject: RE: [PHP] Sending an e-mail to 1,000 people


Thanks for your response.  How would it know who to send it to?  Would I
have to input all the names separtely into the mail() function?  Or would it
be a variable?  Not quite sure on how to do it.  Thanks for your help.  Ben

-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 12:00 PM
To: 'Ben Clumeck'; [EMAIL PROTECTED]
Subject: RE: [PHP] Sending an e-mail to 1,000 people


yes you can by using MYSQL to store the names, PHP to generate the letters
(or you can store letter template in database as well), and PHP's mail()
function will take you home.

-Original Message-
From: Ben Clumeck [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 1:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Sending an e-mail to 1,000 people


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


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