Commit 52bd831
David Bauer
MimeMessageHelper: use complete filename as resource name
Mail for Windows 10 uses the name property of the Content-Type
as the displayed filename, regardless of the filename set.
As the Content-Type name misses the extension, attachments can
not be opened with the preferred application.
Fix this by adding the extension to the Content-Type name.
Signed-off-by: David Bauer <[email protected]>1 parent c6abd4f commit 52bd831
File tree
1 file changed
+1
-1
lines changed- modules/simple-java-mail/src/main/java/org/simplejavamail/converter/internal/mimemessage
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
0 commit comments