I am trying to send the email from my computer(localhost), so i am facing the problem in smtp server setting. i have also changed in the [mail function] ,but still not works. so please tell me that how i should configure the smtp server so that i could send the mail from localhost , and also receive it.