Skip to content

Preserve SMTP envelope recipients when relaying#6

Merged
mkitchingh merged 4 commits intomainfrom
fix/bcc-envelope-recipients
Mar 10, 2026
Merged

Preserve SMTP envelope recipients when relaying#6
mkitchingh merged 4 commits intomainfrom
fix/bcc-envelope-recipients

Conversation

@mkitchingh
Copy link
Owner

Fixes relay dropping BCC recipients.

The relay was reconstructing recipients from MIME headers when sending upstream. BCC recipients are often not present in message headers, only in the SMTP envelope (RCPT TO).

This change forwards the envelope sender and recipient list from IMessageTransaction so all accepted recipients (To, Cc, Bcc) are relayed correctly.

@mkitchingh mkitchingh merged commit d04bc3f into main Mar 10, 2026
1 check passed
@mkitchingh mkitchingh deleted the fix/bcc-envelope-recipients branch March 10, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant