PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have successfully sent mail.Yesterday, I received mail from php.Today,I can not find it in the mail box and spam.I know PHPMailer.But I want to try the mail function at localhost.
my code:
The PHP mail() function depends on there being a local mail server running. "For the mail functions to be available, PHP requires an installed and working email system. The program to be used is defined by the configuration settings in the php.ini file." (from w3schools.com) XAMPP doesn't include a mail server. Have you installed a mail server on your computer?
if you merely want to check if your mail functions are working properly or not,
try some server emulation tool which emulates smtp server on your localhost