简体   繁体   中英

The server response was: 5.7.1 Client was not authenticated While Sending email using SMTP client

I am getting following error:

he SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated

I have already set UseDefaultCredentials= false and enablessl= true Still i am getting the same exception.

My credentials are correct as i can log in to outtlook using same credentials I dnt know where i am goging wrong

looks like a permission issue

In the Exchange Management Console, under the Server Configuration node, select Hub Transport and the name of the server. In the Receive Connectors pane, open either of the Recive Connectors (my default installation created 2) or you can create a new one just for TFS (I also tried this and it worked). For any of these connectors, open Properties and on the Permission Groups tab ensure that Anonymous Users is selected (it's not by default).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM