MimeMessageHelper: use complete filename as resource name by blocktrron · Pull Request #248 · bbottema/simple-java-mail

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 <david.bauer@connfair.com>