Skip to content

Conversation

DavidBiddle
Copy link

@DavidBiddle DavidBiddle commented Mar 6, 2025

Currently the AttachmentList's []= method can be called multiple times with the same filename, and a new part will be added to the email for each of the files without overwriting previous files with the same name.

I've assumed that this is intended behaviour (since it's valid for an email to have multiple attachments with the same filename, or even have the same file attached multiple times).

This PR adds a fairly basic test to make that assumption explicit.

@DavidBiddle DavidBiddle marked this pull request as ready for review March 6, 2025 14:31
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