Mail() question
| From: | Ryan A | Date: | Tue, 09 Sep 2003 00:12:22 +0000 |
| Subject: | Mail() question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162024@lists.php.net to get a copy of this message | ||
Hi everyone,
I am trying to create a new newsletter software as the ones i found on
hotscripts were just not good enough or mucho $$ which i dont have :-(
Have finished the basics but need some advise now.
I am using a mysql database instead of text files.
I have a table with the fields "name" and "email", my questions are,
1:is it better to use a for loop and then send each mail?
2:should i first put all the names and addresses into an array?
3:Is it better to send each mail independantly or use BCC? (one mail
blast....., will it work?)
Please note that i I intend to add a kind of word merge functionality later
on.
eg:
Dear <::name::>,
thank you for subscribing your email address: <::email::>
etc etc
Am expecting the list to grow to around 5000 or more.
When replying if possible please give program examples or links as am not
very familier with this.
Thanks in advance,
-Ryan
We will slaughter you all! - The Iraqi (Dis)information ministers site
http://MrSahaf.com