My site uses MVC 4 with login authorization. The new user registration responds with a confirmation email. It is in the form of an asynchronous task with the following code to send the message:
MailMessage mailMessage = new MailMessage();
mailMessage.Subject = message.Subject;
mailMessage.Body = message.Body;
using (var client = new SmtpClient())
In Web.config it has the following setup: (I have substituted "mydomain" for my actual domain name)
<network host="relay-hosting.secureserver.net" port="25" />
The confirmation emails are not being sent and the logs have no "error" or "mail" related reports.
Is anything obvious that I'm doing wrong?
I'm new to the Community and not sure which Location to post this to.
Go to Solution.
Well...I did nothing and today it works?!