Hi,
The PHP mail() function does nto actually send email, it just passes an email to a mail server.
Windows does not have a mail server installed by default, but there are mail servers available, however it is not a simple job to install and manage one and even if you did, most real mail servers would reject mail coming form an unknown server.
I suggest you look at a PHP Library called phpMailer which can be found on github with a quick google search. This will allow you to use a google/yahoo/etc etc mail account to send mail.
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-