无法与主持人SMTP.Office365.com建立连接[网络在Godaddy上是无法到达的#101]



我正在使用Office 365电子邮件在Laravel网站上设置联系我们页面。该设置在Bluehost上的工作非常出色,但没有在Godaddy主机上工作,我怀疑TXT记录的原因。这是我目前拥有的:

v = spf1包括:spf.protection.outlook.com包括:server.mcsv.net包括:spf.mandrillapp.com包括:secureserver.net -all

请让我知道是否正确?

错误消息

我认为邮件驱动程序设置为 smtp

尝试将邮件驱动程序从 smtp 更改为 sendmail ,因为GoDaddy托管上的SMTP邮件驱动程序无法正确建立与邮件服务器的连接。

有关参考,请参见以下配置:

mail_driver = sendmail

mail_host = smtp.office365.com

mail_port = 587

mail_username = xxxxx@xxxxxx.xx

mail_password = xxxxxx

mail_encryption = tls

最新更新