how are you getting the list? database? file? thin air?
for a db
PHP Code:
// Message information
$message = "Custom Message/n"; // forget if it is /n or \n for new line
$message .= "Custom message continued";
$from = "example@example.com"
$subject = "MY MAIL LIST";
// get email from db
$subres = "SELECT * FROM email ";
$res = mysql_query($subres);
$data = mysql_fetch_assoc($res);
do{
// mail function here
mail ($data['email'],$subject,$message);
}
while($data = mysql_fetch_assoc($res));
thats for a db, i dont know about getting it from files and what not.
__________________
AMW_Drizz
Dev Machine:: Apache 2.2.6 PHP 5.2.6 MySQL 5.1
It does not matter whether you send simple emails or anything from DB (how does the usage of DB relate to this question at all?). The main reason of using phpmailer is that phpmailer sets correct headers in your outgoing messages thus decreasing the probability of message going to spam box on most free mail servers like hotmail or yahoo or whatever. Some phpmailer-made messages can still go into spam box, but handmade message with improper headers will go there much more likely.