5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Failed to authenticate on SMTP server with username

Posted at

#Failed to authenticate on SMTP server with username "メアド" using 2 possible authenticators

英語のサイトしか、問題解決が無かったので。
てか、凡ミスすぎて、みんなしないと思うが。

.env

MAIL_DRIVER=smtp
MAIL_HOST=host
MAIL_PORT=465
MAIL_USERNAME=username
MAIL_PASSWORD=password
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=fromaddress
MAIL_FROM_NAME=from名

この部分のUSERNAMEもしくはPASSWORDが間違っていると思います。
自分は正しいPASSWORDにしたらエラーがなくなりましたm(__)m

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?