Test send PHP emails locally (xampp) Windows
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 steps which will allow you to send and open emails locally.
I assume you are running XAMPP server on your computer, it should work fine with WampServer too without any configuration.