First off you need to create a file called mailing.php this will be the file that processes the adding of emails to the list.
CODE
Next you need to create a file called mailing_thankyou.php, simple a page thanking them for signing up.
Now create a file called mailing.txt with nothing in it, when uploaded to the server set it writable (chmodd 666 or 777).
Now you need to form for teh people to enter their email address, put this on any page
CODE
Now you need a file to send the newsletter, create a file called anything you want.
CODE
Email sent!
";
}
?>
";
}
?>
Thats you all done, to send the newsletter, simply go to the file you just created fill in the spaces, and click send, there is no warning/confirmation. so check before you send!
Please note: I will be improving on this script as time goes on, hopefuly to make it able to remove people from the list too, So check back soon!
SOURCE


No comments:
Post a Comment