Jump to content

Mailing List


st0rmer

Recommended Posts

use a text file:

<?php
$fileName = "location/of/orignal/file/my_file.txt";
$handle = fopen($fileName, "r");
while (!feof($handle)){
    $text = fgets($handle);
    echo $text;
}
?>

 

place one email on each line, then instead of echo $text; use the mail function.

Link to comment
https://forums.phpfreaks.com/topic/74861-mailing-list/#findComment-378939
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.