You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
@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.
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
The text was updated successfully, but these errors were encountered: