I have deployed ASP.Net Authentication with email confirmation for registration on my MVC site, hosted at GoDaddy. I am still trying to learn about the email functionality, especially where hosting vendors are concerned. To illuminate my problem, I have placed all mail settings as config elements so my "SendMail" action can be easily modified, without having to re-publish to make minor changes in a controller action or other c#:
<mailSettings><smtp> <network host="smtp.zoho.com" port="465" enableSsl="true" userName="admin@docscost.com" password="*******"/></smtp> </mailSettings>
...this gives me a timeout error, "the connected party did not properly respond after a period of time...". So far, all I can glean from reading various threads online is that the host server prevents secure connection with external mail servers. Correct or not?
<mailSettings><smtp> <network host="relay-hosting.secureserver.net" port="25" userName="admin@docscost.com" password="*******"/></smtp> </mailSettings>
...this setting uses the host's own server, and with my MX records in place to proxy my mail vendor (zoho), the emails do implement and are delivered (testing with my own gmail acct) but with HEAVY Spam warnings on the message and the "Confirm" link contained in the email, port 25 being the [unsecured] culprit. Obviously that's NOT the result I'm looking for where users "Register" and expect an email to confirm registration.
zoho tech (very helpful) is at a loss on why they are not accessible by the first settings above. They have also concluded it must be on the host end. As for GoDaddy, I'm not able to get clarification as to whether this is an issue ofa) not allowing the outside mail vendor to be configured, b) an alternate coding to solve the issue, or c) I have to use INTERNAL mail they provide, but that it would solve the issue. I'd be glad to go the (c) route if I knew it would work.
If anyone has had a similar experience, or has any knowledge base, or can point me to documentation to clarify this, please advise. Thanks much for looking.
RC