I am setting up a contact us page on Laravel website using a office 365 email. The set up work great on Bluehost but did not work on Godaddy hosting, I suspect the reason maybe the TXT record. Here is what I currently have :
v=spf1 include:spf.protection.outlook.com include:servers.mcsv.net include:spf.mandrillapp.com include:secureserver.net -all
Please let me know if it's correct?
I think the mail driver is set to smtp .
Try changing the mail driver from smtp to sendmail , as smtp mail driver on godaddy hosting can not properly establish connection with mail server.
For Reference see the following configuration:
MAIL_DRIVER=sendmail
MAIL_HOST=smtp.office365.com
MAIL_PORT=587
MAIL_USERNAME=xxxxx@xxxxx.xx
MAIL_PASSWORD=xxxxxx
MAIL_ENCRYPTION=tls
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.