期望的响应代码250但是获得代码“”,其中消息“ [英] Expected response code 250 but got code "", with message ""
本文介绍了期望的响应代码250但是获得代码“”,其中消息“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
预期响应代码250,但有代码,带有
我还更新了 .env
文件。
MAIL_DRIVER = smtp
MAIL_HOST = smtp-mail.outlook.com
MAIL_PORT = 587
MAIL_USERNAME=email@outlook.com
MAIL_PASSWORD = 123456789
在本地主机中工作,但不在托管站点。
我正在使用laravel 5
http://www.hostinger.ph/forum/news-and-announcements/229-email-service -updates-1.html
I can send my emails in localhost flawlessly. but ever since I uploaded my program into a hosting site I get this error
Expected response code 250 but got code "", with message ""
I also updated the .env
file.
MAIL_DRIVER=smtp
MAIL_HOST=smtp-mail.outlook.com
MAIL_PORT=587
MAIL_USERNAME=email@outlook.com
MAIL_PASSWORD=123456789
works in localhost but not in the hosting site.
i am using laravel 5
解决方案
looks like the smtp was blocked for hostinger free users.
http://www.hostinger.ph/forum/news-and-announcements/229-email-service-updates-1.html
这篇关于期望的响应代码250但是获得代码“”,其中消息“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文