c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android
c# .net

[solved]The SMTP server requires a secure connection or the client was not authenticated. The server response was: authentication required

| | ASP-NET , CSharp , MVC


If you have not configured credentials properly like this error will occur. Your must need to include Credentials for secure connection then only it will be authenticated.

var client = new SmtpClient("yourserver", 80)

client.Credentials = new System.Net.NetworkCredential(adminEmail, adminPassword);

 you can also check these links hope these are help you...

http://www.infinetsoft.com/Post/How-to-configure-godaddy-email-account-using-net/56