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...