CluPilotCloud/tests/Feature/Mail
nexxo c55a5d2b49 Make ssl, tls, and none mean what they say on the wire
EsmtpTransport's autoTls (default true) and requireTls (default false)
are independent of the implicit-TLS constructor argument: 'tls' left
these at their defaults, so a server that omitted STARTTLS sent
mailbox credentials in the clear while reporting success, and 'none'
would silently upgrade the moment a server offered STARTTLS. Both
MailboxTransport and MailboxTester already duplicated the "ssl, or
port 465 ⇒ implicit" half of this decision independently; MailTlsPolicy
is now the one place both read, for both dimensions.

MailboxTester still builds through Mail::build() rather than a hand-built
transport: MailManager::createSmtpTransport() forwards the whole config
array to EsmtpTransportFactory as DSN options, which already reads
auto_tls/require_tls itself, so the same policy reaches this path
through keys the config array already supports.
2026-07-28 04:35:03 +02:00
..
MailSettingsPageTest.php Close two ways a mail.manage session could take over outgoing mail 2026-07-28 03:50:19 +02:00
MailboxModelTest.php Move the one SMTP account into the mailbox table it outgrew 2026-07-28 00:24:54 +02:00
MailboxResolverTest.php Move the one SMTP account into the mailbox table it outgrew 2026-07-28 00:24:54 +02:00
MailboxSeedMigrationTest.php Stop committing a real password, and say the truth about what carried over 2026-07-28 03:49:37 +02:00
MailboxTakeoverTest.php Close the data-loss paths the review found in the mailbox takeover 2026-07-28 01:15:50 +02:00
MailboxTesterTest.php Make ssl, tls, and none mean what they say on the wire 2026-07-28 04:35:03 +02:00
MailboxTransportTest.php Make ssl, tls, and none mean what they say on the wire 2026-07-28 04:35:03 +02:00
SenderAddressTest.php Keep the purpose mailer through the queue instead of losing it to the default 2026-07-28 03:50:02 +02:00