Skip to content

[stable34] fix(mail): reject failed verification-code recipients - #9507

Merged
vitormattos merged 3 commits into
stable34from
backport/9495/stable34
Nov 14, 2026
Merged

vitormattos merged 3 commits into
stable34from
backport/9495/stable34

Conversation

@backportbot-libresign

@backportbot-libresign backportbot-libresign Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Backport of #9495 to stable34.

Stable-specific adaptation

The stable branch does not have the MailService::sendAndCheck() helper from main. The backport checks the result of IMailer::send() directly and sends non-empty failed-recipient lists through the pre-existing LibresignException path, while preserving successful submissions and the stable's mail transport logic.

Review handoff

  • Compared to fix(mail): reject failed verification-code recipients #9495 and adapted to the actual stable API.
  • No merge conflicts against stable34 (GitHub mergeability checked).
  • Added positive and rejected-recipient regression cases.
  • New incremental commits are cryptographically signed and DCO verified; latest HEAD has no [skip ci] marker, so CI is enabled.
  • Full GitHub CI: reviewer/maintainer follows up separately.

Two focused MailService regression tests added (transport accepts [] and rejects a non-empty failed-recipient list). PHP syntax checks passed; GitHub CI is not yet claimed complete.

History: The backport bot's original commit includes [skip ci]. It was not rewritten: later signed commits re-enabled CI while preserving the existing commit history. No merge performed.

fix(mail): handle rejected verification code recipients

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>

[skip ci]
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos marked this pull request as ready for review November 14, 2026 22:29
@vitormattos
vitormattos requested a review from a team as a code owner November 14, 2026 22:29
@vitormattos
vitormattos merged commit ea2b322 into stable34 Nov 14, 2026
66 checks passed
@vitormattos
vitormattos deleted the backport/9495/stable34 branch November 14, 2026 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant