stable
Clone or download
Read-only
feat: request #40473 Support smtp XOAuth2 authentication
Microsoft smtp servers (office365 and outlook) use XOAUTH2 protocol for authentication. Our dependency Laminas/Mail already support this protocol but our config not. *Testing:* Set `email_relayhost_smtp_auth_type` to `xoauth2`, validation should not complain. Change-Id: Ief45190dceb525b6130d48a0df715797d70063b9
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Mail/Transport/MailTransportBuilder.php | +5 | −1 | Go to diff View file |
M | src/common/Mail/Transport/SmtpOptions/SMTPAuthTypeValidator.php | +12 | −2 | Go to diff View file |
M | src/common/Mail/Transport/SmtpOptions/SmtpOptionsBuilder.php | +8 | −5 | Go to diff View file |
M | tests/unit/common/Mail/Transport/SmtpOptions/SmtpOptionsBuilderTest.php | +19 | −0 | Go to diff View file |