stable

Clone or download

Read-only

Closes request #33645: Make possible to use an authenticating SMTP relay host

Additional settings are added to manage SMTP relay requiring an authentication. We use the authentication as soon as a username and password are provided. Change-Id: I294c2da65ea150c0eb338082edbbe4045a188a48

Modified Files

Name
M src/common/Mail/Transport/MailTransportBuilder.php +20 −1 Go to diff View file
A src/common/Mail/Transport/SmtpOptions/SMTPAuthTypeValidator.php +42 −0 Go to diff View file
M src/common/Mail/Transport/SmtpOptions/SmtpOptionsBuilder.php +15 −0 Go to diff View file
M tests/unit/common/Mail/Transport/MailTransportBuilderTest.php +5 −0 Go to diff View file
A tests/unit/common/Mail/Transport/SmtpOptions/SMTPAuthTypeValidatorTest.php +49 −0 Go to diff View file
M tests/unit/common/Mail/Transport/SmtpOptions/SmtpOptionsBuilderTest.php +25 −0 Go to diff View file