开发者

how to check the mail functionality in local host server?

I am sending email from my localhost There occurs a server error Failed to connect to mailserver at "smtp.bizmail.yahoo.com" port 465, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() when i host my project to the server my function works Now i need a solution such that the mail functionality mu开发者_如何学JAVAst work in my localhost too


Download miniRelay smtp server from here. Use localhost or 127.0.0.1 as smtp server and port 25 to connect to smtp server and send emails.

how to check the mail functionality in local host server?


Try setting smtp to "127.0.0.1" and smtp_port to 25. That's assuming your localhost is running sendmail or something similar.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜