Skip to content

Conversation

@nrowbot
Copy link

@nrowbot nrowbot commented Jan 4, 2026

No description provided.

Copy link
Member

@felix-schultz felix-schultz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where email headers (From, To, Subject, etc.) were not included in the RFC 5322 message when sending emails without attachments. The fix ensures that headers are properly collected and joined before being added to the message in both plain-text and HTML email cases.

Key changes:

  • Modified the plain-text email path to add Content-Type headers to the headers vector before joining
  • Modified the HTML/alternative email path to add Content-Type headers to the headers vector before joining
  • Both cases now properly include all headers by using headers.join(crlf) consistently with the attachment case

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@felix-schultz felix-schultz merged commit 46df85a into TM9657:dev Jan 4, 2026
8 of 15 checks passed
@nrowbot nrowbot deleted the fix/node-smtp-send-mail branch January 5, 2026 17:55
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.

2 participants