安装Setting Up Apache HTTPD PHP Webserver with hMailServer
PHP cannot perform SMTP authentication natively using the mail() function. The way I set up my development server is to allow unauthenticated SMTP emails to be sent from the PHP webhost IP address on a non-standard port