I was wondering how to use the mail() function. As you can see from the subject above I am getting a warning. The rest of that warning is -
Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\wamp\www\testServe\testingMain.php on line 65
Any ideas on what I need to do to connect to port 25. note: I just started learning php.
I suppose you haven't got an SMTP server on your local machine, so specifying your ISP's SMTP server (the one that's used to send mail, NOT receive) in the php.ini file should solve your problem.