Merhaba,
Sunucumuz mailleri MX ile office 365 ile bağladı ve daha sonra outlook.com üzerinden mailleri kullanıyorlar. Mail geliyor ve gidiyor bir sorun yok fakat web form üzerinden gönderirken;
MAIL_MAILER=smtp
MAIL_HOST=smtp-mail.outlook.com
MAIL_PORT=587
MAIL_USERNAME=info@xxdomain.com
MAIL_PASSWORD=xxxx
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=info@xxdomain.com
MAIL_FROM_NAME="${APP_NAME}"
şeklinde ayarlıyorum fakat bunun üzerinden mail gitmiyor. Başka sunucu ayarlarını kullanınca çalışıyor.
Bu konu hakkında yardımcı olabilecek var mı? Ne yapmam gerekiyor bu sorun hakkında?
Dönen laravel hatası;
Failed to authenticate on SMTP server with username "info@xxdomain.com" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information. [AM6PR0502CA0061.eurprd05.prod.outlook.com] ". Authenticator XOAUTH2 returned Expected response code 235 but got code "535", with message "535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information. [AM6PR0502CA0061.eurprd05.prod.outlook.com] ".
Teşekkürler.