Hi,
Just trying to open a flat file with one string full of e-mail addresses separated by commas, explode it, then loop through and mail all the addresses. What is wrong with this little bit of code:
<?
$mailList=fopen("mailList.txt", "r");
$mailArray=explode (",",$mailList);
fclose($mailList);
for ($ma=0; $ma<6; $ma++)
mail ($mailList[ma],$subjectLine,$message,$fromWho);
?>
Hope this isn't too stupid--didn't see a newbie forum here.