Click here to Skip to main content
15,893,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at


how can i solve it
Posted

Check your SMTP a settings if it requires secure connection. If yes, set EnableSsl property to true.

Also check for credentials you are providing for connecting.
 
Share this answer
 
Quote:
The SMTP server requires a secure connection or the client was not authenticated.

Which means that you have to set true to the enableSsl.
And it might be possibility that you might have entered wrong user name and password, so check that as well.

-KR
 
Share this answer
 
Hi U try create send mail system.so u choose smpt.if u use SMPT u need to use one dummy email account or u use ur own email account,but u need to give username,password,port ect. for gmail port is 587.so without username password u cant send mail.

try this links
Send Mail / Contact Form using ASP.NET and C#[^]

http://www.aspdotnet-suresh.com/2010/11/introduction-this-article-i-will.html[^]

[^]

Regards
Aravind
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900