W3Developers
1 year ago
1625
5
Laravel

Failed to authenticate email

Posted 1 year ago by W3Developers

Hi, i am trying to send mail hosted on outlook mail,

i use following config,

MAIL_DRIVER=smtp
    MAIL_HOST=smtp-mail.outlook.com
    MAIL_PORT=587
    [email protected]
MAIL_PASSWORD=password
MAIL_ENCRYPTION=tls

i got following error,

Failed to authenticate on SMTP server with username "[email protected]" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 5.7.3 Authentication unsuccessful [SG2PR02CA0105.apcprd02.prod.outlook.com] ". Authenticator XOAUTH2 returned Expected response code 235 but got code "535", with message "535 5.7.3 Authentication unsuccessful [SG2PR02CA0105.apcprd02.prod.outlook.com]

any one have solution..

Please sign in or create an account to participate in this conversation.