3
Contributors
2
Replies
3
Views
12 Years
Discussion Span
Last Post by zippee
0

Not sure how the email list are stored... If they are stored in txt file, then you can use fread to read each line of email address into a string:

$mail_list = '';
$handle = @fopen("/tmp/inputfile.txt", "r");
if ($handle) {
   while (!feof($handle)) {
       $buffer = fgets($handle, 1024);
       $mail_list .= $buffer.',';  // email addresses
   }
   fclose($handle);
}
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.