I think it must be a problem with the connection between your web server and your email server. Your email server should be on the same local network or the same machine as the web server.
try using the phpmailer
and directly communicate with the smtp server.
I had the same problem with my localhost...
and resolved using the direct communication with smtp server.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.