i installed smtp4dev to test receive mails in my localserver(xampp) for the registration form here: https://github.com/panique/php-login
note: localserver is on port: 8080
my php.ini file for SMTP section is as follows and the smtp is activated as that was shown in xampp status:
[mail function]
SMTP = localhost
smtp_port = 25
sendmail_from = postmaster@localhost
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
sendmail_path="C:\xampp\mailtodisk\mailtodisk.exe"
;mail.log = "C:\xampp\php\logs\php_mail.log"
but i didn't receive any email, so i checked the smtp if it worked via telnet:
telnet localhost 25
and i get this after running telnet command:
220 localhost smtp4dev ready
Connection to host lost.
how can i solve this problem?