Send Email From a PHP Script Using SMTP Authentication
Sending an email from a PHP script is simple, fast and easy...if it works!
PHP mail() and SMTP Authentication
Part of what makes the PHP mail() function is so simple is its lack of flexibility. It's frustrating that stock PHP mail() does not usually allow you to use the SMTP server of your choice, and it does
READ Full article