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
It could be simplier to use an external library to send mails, as http://swiftmailer.org/ instead of playing with php.ini
It's never good to be php.ini dependant.