Hi, @sapsingekar. Welcome to GoDaddy Community!
With our shared hosting servers, you are required to send emails through our SMTP servers. We don't allow the use of outside SMTP servers. That's likely why you're seeing that error. Hope that helps!
I am trying to configure SWIFTMAILER for my domains. Which is the best approach? SMTP or SendMail? Would you please give some advice.
I also have the same problem in gmail smtp. I want to make a contact form in mvc asp.net. In local it works. How can i fix that?
I solved the problem in this way:
I installed swiftmailer.
I am using this server dedrelay.secureserver.net which is the Godaddy SMTP server.
And I am using port 25.
Thanks for sharing your solution @jrcscarrillo. To clarify, that mail server can only be used by US hosted VPS or Dedicated Servers. For any of our Shared Hosting platforms, relay-hosting.sercureserver must be used.