# 工作筆記 #2 - SMTP 伺服器連線問題 問題 --- > System.Net.Mail.SmtpException was unhandled _HResult=-2146233088 _message=SMTP 伺服器需要安全連接,或用戶端未經驗證。 伺服器回應為: 5.5.1 Authentication Required. Learn more at... <br /> 解決步驟 --- > 開啟 Gmail 設定 IMAP * 進入設定  <br /> * 選擇 [ 轉寄和 POP/IMAP ] 頁籤  <br /> * 啟用 IMAP  <br /> * 開啟 [ 低安全性應用程式存取權 ] > https://myaccount.google.com/lesssecureapps  <br /> ###### tags: `SMTP` `5.5.1 Authentication Required` --- 參考資料 > https://blog.no2don.com/2021/01/c-gmail-smtp-server-requires-secure.html
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up