PHP is indeed the best. This may be a little overkill, but it's nice:
http://phpmailer.sourceforge.net/
If you're just going to use it to email yourself, this way (the link below) will work, but oftentimes emails end up your junk folder, so make sure to put the "from" header in the whitelist.
http://us2.php.net/manual/en/function.mail.php