i am learning how to send an email.i have installed appserver and in files php.ini-dist and php.ini-recommended i did the following changes
SMTP=localhost
send
I believe you have at least two problems:
php.ini-recommended
and php.ini-dist
are respectively an example and a template configuration files; modifications to them may not impact the "real" php.ini
, currently used by your instance of PHP. Use phpinfo() to make sure that your configuration is correct.Just because you send an email doesn't mean it will arrive.