How to send email from a web page
There are several different tools available that you can use to send emails from a web page. The following scripts are the most commonly used on our servers:
PHP mail() function:
What script should I choose?
If you are creating a, "Contact Us" type of page, you may want to look into using FormMail. FormMail is configured to send to the same email address every time, and is a simple script to setup.
If the email address you need to send to is a different email address every time, for example a user has signed up for something on your website and needs a confirmation email, you should look into using either phpMailer or the php mail() function. Both of these scripts can be used within php, and this is very useful if the email address you need to email is gathered from a variable in your php script.
The phpMailer script can work on any of our servers, however due to current SPAM standards involved with the PHP 'nobody' user, the php mail() function is not enabled on all of our servers. All of our newer shared servers have the php mail() function enabled, however it is not enabled on some of our previous servers. Please contact the support department if you are unsure whether your server has the php mail() function enabled.
Thank you for your feedback!