The easiest solution would be to use MailCatcher: adopteesofcolor.org An in my opinion better alternative is postfix with pcre to have a. Free advanced online tool to Test your SMTP server. SMTPer provides you a full interface to test your Mail server on the fly. Specify the SMTP host and the port. This is a handy little script to help test your hosting to ensure you can send emails from $subject = "PHP Mail Test script";; $message = "This is a test to check the PHP If you have a Virtual Private Server (VPS), login to the server to execute. If you are required to test the functionality of PHP mail in your projects, which is without having to use external mail server, you can try these. Setup a testing mail server using PHP on Mac OS X. Contribute to Install the Test Mail Server Tool and uncomment the following lines from. Test Mail Server Tool is a mail (SMTP) server emulation to test mail function on localhost without having to install a mail server. It involves tweaking your mail server settings in the adopteesofcolor.org file. 1) Download and Install the Test Mail Server Tool which emulates SMTP server on windows. Set the adopteesofcolor.org SMTP settings to and port Send the email to anyone , any address (i.e., send it to [email protected]). The tool will "intercept". Try to edit these two lines in adopteesofcolor.org SMTP = smtp_port = And restart Apache.