Laravel中透過SMTP寄信,出現類似這種錯誤訊息:
Failed to authenticate on SMTP server with username \"[email protected]\" using 3 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"534\"
解法:
1. 確認gmail中的「低安全性應用程式存取權」有開啟。
2. 允許新的裝置或應用程式登入: https://accounts.google.com/DisplayUnlockCaptcha
按下繼續後,嘗試再SMTP登入一次!

本筆記參考:
1. https://serverfault.com/questions/635139/how-to-fix-send-mail-authorization-failed-534-5-7-14
























