Skip to content

[pull] develop from LibreBooking:develop - #602

Merged
pull[bot] merged 1 commit into
treborin:developfrom
LibreBooking:develop
Aug 26, 2026
Merged

pull[bot] merged 1 commit into
treborin:developfrom
LibreBooking:develop

Conversation

@pull

@pull pull Bot commented Aug 26, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

ServiceLocator::GetEmailService(): PHPMailer  Send() already clears
recipients and reply-tos before each message but never called
clearAttachments(), so PHPMailer's internal attachment list persisted
across sends. A reservation-creation notification burst (owner, admins,
participants, invitees, guests) sends several emails through that same
instance, so each subsequent email inherited every prior message's
attachment on top of its own.

Add a generic FakeEmailMessage and EmailServiceTest proving
EmailService::Send() clears PHPMailer's attachment list before each
message, so a second Send() on the same instance doesn't inherit the
first message's attachment.

Assisted-by: Claude:claude-sonnet-4-6
@pull pull Bot locked and limited conversation to collaborators Aug 26, 2026
@pull pull Bot added the ⤵️ pull label Aug 26, 2026
@pull
pull Bot merged commit 8c74172 into treborin:develop Aug 26, 2026
16 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant