cancel
Showing results for 
Search instead for 
Did you mean: 
Go to solution

PHP SMTP for mailgun on Linux Hosting not working

I'm on basic linux cpanel hosting with GoDaddy. I've signed up with mailgun to allow me to send out registration emails from my website. I've built and tested my website on my local server with mailgun's smtp details and it works perfectly.

 

However, when I upload my code to godaddy and test the email send, it doesn't send or error. I've checked mailgun's logs and there isn't even a request to send, so it's not on the mailgun side.

 

I read somewhere that I have to use port 25, so I tried that and it still isn't working on go daddy (but works on my local development environment).

 

Is PHP SMTP disabled for basic linux hosting or something? I've already confirmed that all mailgun details are correct and my domain is correctly setup.

 

Thanks for any help!

1 REPLY 1
Community Manager
Community Manager
Solution

Re: PHP SMTP for mailgun on Linux Hosting not working

Hi @davidb2002. Thanks for being part of GoDaddy Community! Our hosting servers are configured in such a way so that mail can only be sent using our SMTP servers. You can reference these by using relay-hosting.secureserver.net. Using a 3rd party SMTP provider is generally not permitted. Sorry Man Sad

 

JesseW - GoDaddy | Community Manager | 24/7 support available at x.co/247support | Remember to choose a solution and give kudos.