Skip to content

PR – Support Multiple Attachments on Mailer#4

Merged
deajan merged 5 commits intonetinvent:masterfrom
Darkfoxjj12:master
May 2, 2025
Merged

PR – Support Multiple Attachments on Mailer#4
deajan merged 5 commits intonetinvent:masterfrom
Darkfoxjj12:master

Conversation

@Darkfoxjj12
Copy link
Copy Markdown
Contributor

Context

I noticed the current implementation only supports a single attachment. Multiple attachments were being ignored.

Changes

  • Updated the code to handle an array of attachments instead of just one.
  • Ensured backward compatibility.
  • Added basic test coverage for multiple attachments.

Disclaimer

I’m not an expert in this part of the codebase, so feel free to suggest a cleaner or more robust way. Open to feedback!

Result

Multiple attachments are now working as expected. Single-attachment use still works fine.

@deajan deajan merged commit bf96213 into netinvent:master May 2, 2025
19 checks passed
@deajan
Copy link
Copy Markdown
Contributor

deajan commented May 2, 2025

I've refactored some of the code and added tests here

Thanks for the PR.

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