I could not send mail without an error of failure. I added the pluggin wp mail smtp ad configured the setting as suggested:
Mailer: SMTP
SMTP Host: smtp.gmail.com
SMTP Port: 465
Encryption: SSL
Authentication: Yes
Username: your full gmail address
Password: your mail password
It tests very well!!!! But, but when I go to site hosted locally, trying to send mail it will fail!!! What am I doing wrong?