Hi @Walas. Welcome to GoDaddy Community! If this is a script that is hosted on one of our hosting platforms, then I suggest sending through the server relay-hosting.secureserver.net instead. All email sent from our hosting platforms needs to go out that way. Hope that helps.
JesseW - GoDaddy | Community Manager | 24/7 support available at x.co/247support | Remember to choose a solution and give kudos.