Get not only instructions for creating a PHP Web mailer but also a list of PHP commands that you can use to customize the Web mailer.
http://www.webreference.com/programming/php_webmail/