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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters