Al Brookbanks Posted September 25, 2017 Share Posted September 25, 2017 The PHP mail function doesn't work and all possible SMTP connections are rejected. I found the following troubleshooting link via PHPMailer:https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting#godaddy .. that doesn't work either. Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted September 25, 2017 Share Posted September 25, 2017 The line at the end is the most relevant one ! >>You may find it easier to switch to a more enlightened hosting provider. 1 Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted September 25, 2017 Author Share Posted September 25, 2017 .. I thought you would pick up on that bit. Hehe. Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted September 25, 2017 Share Posted September 25, 2017 Seriously though, with those restrictions in place, it is a wonder anyone hosts anything other than a basic website with them ! Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted September 25, 2017 Author Share Posted September 25, 2017 Just now, havenswift-hosting said: Seriously though, with those restrictions in place, it is a wonder anyone hosts anything other than a basic website with them ! I quite agree. Quote Link to comment Share on other sites More sharing options...
bsandall Posted September 26, 2017 Share Posted September 26, 2017 You need to set the MX entry in cPanel to Local Mail Exchanger and give it up to 24 hours to propagate. Oh yeah, and you can't use PHPMailer (or at least I haven't been able to and ran out of time/patience trying to get it to work); use PHP's built-in mail() function instead. Good times. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted September 26, 2017 Author Share Posted September 26, 2017 I did wonder about MX records. I think Godaddy have outright blocked phpMailer since the recent security issue for PHP mail. Thanks for this. Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted September 27, 2017 Share Posted September 27, 2017 14 hours ago, bsandall said: You need to set the MX entry in cPanel to Local Mail Exchanger and give it up to 24 hours to propagate. Oh yeah, and you can't use PHPMailer (or at least I haven't been able to and ran out of time/patience trying to get it to work); use PHP's built-in mail() function instead. Good times. Email routing will automatically be set to "Automatic" or sometimes "Local Mail Exchanger" which in 99.99% of cases will be the same thing. You only need to set it to Remote if you are using external MX records pointing away from your hosting company which is effectively what Godaddy are forcing you to do by closing email ports. Some people choose to use gmail or other email service providers, but why should you have to ? 11 hours ago, Al Brookbanks said: I think Godaddy have outright blocked phpMailer since the recent security issue for PHP mail. Disabling php mail() is standard practice now for security reasons (WHM built in security advisor flags this as a high security risk if it is enabled !) and SMTP should always be used and configured to use SSL / TLS. Email sent via SMTP is much more secure, more likely to be delivered and not rejected or put into spam and isnt complicated to use. So much so, I would recommend that php mail() is removed as an option in CubeCart as it is very likely to disappear as an option in the near future Ian 1 1 Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted September 27, 2017 Author Share Posted September 27, 2017 Thanks Ian thats really insightful. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.