Still can’t set SMTP setting right despite contacting GoDaddy customer service
Hello all. My company adopts Godaddy’s mail service from office365. Recently, my company develop a website, where we add sending-mail function to enable our client can reset password if he or she forget the password to log in the website. However, we still can send the mail to our client now. We currently uses php language to construct the website and it seems that we don’t get SMTP setting right. Some GoDaddy service agent says port should be 25 instead of 587 and others say SMTP server is smtp.office365.com or relay-hosting.secureserver.net instead of smtpout.aisa.secureserver.net. We have tried many version but still can’s successfully send out the mail. Hopefully, someone may know what’s wrong with our code as below.