Skip to content

response was: 5.7.0 Authentication Required. #11287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
send4u1 opened this issue May 11, 2025 · 1 comment
Open

response was: 5.7.0 Authentication Required. #11287

send4u1 opened this issue May 11, 2025 · 1 comment

Comments

@send4u1
Copy link

send4u1 commented May 11, 2025

Type of issue

Typo

Description

System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required. For more information, go to at Registration.frmRegistration.SendEmail(String recipient, String subject, String body) in D:\FINALPROJECT\DADC\DADS_orginial_live\Registration\frmRegistration.aspx.cs:line 725 at Registration.frmRegistration.btnEmailOTP_Click(Object sender, EventArgs e) in D:\FINALPROJECT\DADC\DADS_orginial_live\Registration\frmRegistration.aspx.cs:line 677

[Enter feedback here]

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.net.mail.smtpclient.send?view=net-9.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Net.Mail/SmtpClient.xml

Document Version Independent Id

44c00065-d2fe-bda0-2e54-463a2a4806fd

Platform Id

766e6ee4-0ebb-bcf5-cf18-a2dcdfa8eb42

Article author

@karelz

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label May 11, 2025
@krwq
Copy link
Member

krwq commented May 12, 2025

@send4u1 can you please clarify the problem you're experiencing? If you're trying to get help on the error you're seeing I suspect you need to pass in credentials somewhere or enable TLS (SmtpClient.EnableSsl) and set the port correctly. As for the doc issue - this doesn't seem actionable as is.

@krwq krwq added needs-more-info and removed untriaged New issue has not been triaged by the area owner labels May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants