mail icon indicating copy to clipboard operation
mail copied to clipboard

Add test for multiple files with identical filenames

Open DavidBiddle opened this issue 10 months ago • 0 comments

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 avatar Mar 06 '25 14:03 DavidBiddle