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

From: Date: Tue, 29 Jan 2002 22:07:04 +0000
Subject: RE: [PHP] Sending an e-mail to 1,000 people
Groups: php.general 
Request: Send a blank email to php-general+get-82613@lists.php.net to get a copy of this message
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:bclumeck@home.com] 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:remery@excel.com] Sent: Tuesday, January 29, 2002 12:00 PM To: 'Ben Clumeck'; php-general@lists.php.net 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:bclumeck@home.com] Sent: Tuesday, January 29, 2002 1:43 PM To: php-general@lists.php.net 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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#82613) next »