本文介绍了在Bluehost共享主机上发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经使用gmail smtp在本地服务器上测试了Laravel电子邮件,并且工作正常.
I have tested Laravel emails on local server with gmail smtp and works fine.
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=mypassword
MAIL_ENCRYPTION=tls
我不知道如何在bluhost共享主机上找到smtp详细信息.所以任何人都知道该设置,请发表评论.
I don't know how to find smtp details on bluhost shared hosting. So anyone knows the setting please comment.
这是我当前在服务器上使用的
This is what i have used currently on the server
MAIL_DRIVER=smtp
MAIL_HOST=mail.mydomain.com
MAIL_PORT=26
[email protected]
MAIL_PASSWORD=password
MAIL_ENCRYPTION=tls
推荐答案
我尝试使用bluehost帐户,这有效:
i tried with account of bluehost, this works:
MAIL_DRIVER=smtp
MAIL_HOST=mail.domain.com
MAIL_PORT=26
[email protected]
MAIL_PASSWORD=password
MAIL_ENCRYPTION=null
这篇关于在Bluehost共享主机上发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!