/ Published in: PHP
The mail() function allows you to send emails directly from a script. Remember, that most of shared hosting providers require (for security reasons) to use the domain name of your hosting in "FROM" email, e.g. [email protected] for http://yourdomain.com site.
URL: http://www.apphp.com/index.php?snippet=php-send-mail-using-mail-function