Getting error when attempting to use the email system within Umbraco:
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [MWHPR14CA0031.namprd14.prod.outlook.com]
-
I am using my own code to send emails for forms with no problem. I am even pulling the information directly from the same setting in the config files.
-
I set up the web.config and umbracosettings config with the appropriate from - login - password - port settings. I am pretty sure based on the config comments that I entered the correct parameters - even switched out From parameter just to test to make sure.
-
I found this thread that states to set the ssl in web.config to true:
Problem: We are using a NetScaler to handle all port 443 calls and routing internally to the correct server/site using port 80. When I set this to true in config I get an error for “Too Many Redirects”.
How can I set this up? How can I set this if the EnableSsl is truly the issue:
SmtpClient client = new SmtpClient(server);
// Credentials are necessary if the server requires the client
// to authenticate before it will send email on the client's behalf.
client.UseDefaultCredentials = true;
client.EnableSsl = true;
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/95514-integrated-email-not-working-for-invite-users