This tutorial will teach you how to make a simple newsletter in PHP/MYSQL with account activation. This will require PHP that is not running in SAFE_MODE or PHP that at least allows the sendmail function(duh, you can't send mail without this enabled).
Creating your own user registration system allows you to obtain interesting information about the visitors to your site. You can offer tailored content, provide additional services and keep track of what is being used. But how do users actually register for your site? They will be using a user registration system that may or may not be coded by yourself. One of the key parts of this system will be the validation of their account.
Although PHP has built in function mail() to send email, it's quite insecure and use nonobvious arguments. Here is the example of easy-to-use and reliable mail function.
After noticing that my PHP email form was my most popular script and reading all of the emails from people having problems with earlier versions of my script, I decided to write a brief tutorial on the implementation of my php email form script. You can try a worling demo of this script on my contact page.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.