There's any way to authenticate in to outlook account with OTP code protection for SMTP use in laravel?
i am trying with setting:
and i got error= Failed to authenticate on SMTP server with username "(email)" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator. [SG2PR03CA0140.apcprd03.prod.outlook.com]
". Authenticator XOAUTH2 returned Expected response code 235 but got code "535", with message "535 5.7.3 Authentication unsuccessful [SG2PR03CA0140.apcprd03.prod.outlook.com]