SmtpClient in c# resource is inaccessible due to its protection level
The following C# source code shows how to send an email from my email address using SmtpClient.
The following C# source code shows how to send an email from my email address using SmtpClient.
Is there a way to set the EnableSSL from the web.config?
This seems to be pretty straight forward. I need to send email from some ASP.NET applications. I need to do this consistently without strange errors and without CPU utilization going through the roof. I’m not talking about mass emailing, just occasional emails.
I am using following peace of code to send mail using godaddy hosting .
I noticed that we always just are like:
I wonder if someone can please help with a MVC Contact Form which send an Email on submission? I think I have most elements setup, but for some reason the form appear to be sending (takes ages) then just returns back to the form and no email is received.