Possible Duplicate:
php mail() function on localhost
I am using php mail(). I have been working in my local system, I mean not a domain. is shows php error as bellow
Error Message: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
I tried this http://pastebin.com/SNcnPi5c to check but does not works fine what i need to change?