SMTP
Sending Mail In PHP Through SMTP
Sending mail is a common task for many applications today. Whether sending mail through a webform or as an automated tasks, sending mail can be simple using PHP and PEAR. Using the sendMail() function below, you can send HTML formatted mail through any smtp server.
Update March 11, 2009: Removed the demo since GoDaddy does not support external SMTP servers.


