phpcode Posted December 9, 2007 Share Posted December 9, 2007 Is it possible to make a mailing list without using MySQL? When I send a email to people that have signed up to the mailing list I want it to email all the email addresses from a txt file. I want the emails to be stored like this: email1@email1 email2@email2 1 Email per line, is it possible and if it is how? Quote Link to comment https://forums.phpfreaks.com/topic/80931-solved-making-a-mailing-list-with-no-mysql/ Share on other sites More sharing options...
Stooney Posted December 9, 2007 Share Posted December 9, 2007 Check out fopen() http://us3.php.net/fopen Also fread() http://us3.php.net/manual/en/function.fread.php Quote Link to comment https://forums.phpfreaks.com/topic/80931-solved-making-a-mailing-list-with-no-mysql/#findComment-410584 Share on other sites More sharing options...
rab Posted December 9, 2007 Share Posted December 9, 2007 <?php $file = file_get_contents("maillist"); $emails = explode("\n",$file); print_r($emails); ?> Quote Link to comment https://forums.phpfreaks.com/topic/80931-solved-making-a-mailing-list-with-no-mysql/#findComment-410586 Share on other sites More sharing options...
phpcode Posted December 10, 2007 Author Share Posted December 10, 2007 Thanks Quote Link to comment https://forums.phpfreaks.com/topic/80931-solved-making-a-mailing-list-with-no-mysql/#findComment-410591 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.