I am building a PHP web application and I need to be able to send emails from my website. The webhost that I'm using (Dreamhost) requires SMTP authentication to send emails, so I can't use the standard mail() function. I was looking at the PEAR package a little bit, but wouldn't that need to be installed on my webhost's server to be used? Is there a relatively simple solution that doesn't require installing entire packages and programs to get the job done?