how to set UTF-8 encoding for the name of attachments in email header? Have Croatian letters in the name of the file. For example a text file called: "att_ććććć.txt" . After the email was send to specific email address the name of the file gets wrong formatted: "att_???". I tried:
new String(attachment.getFilename().getBytes("CP1250"), "UTF-8")
And still won't display the name of the file correctly. Can anyone help?
Hi Sasha, sorry for the late response. You can check the solution on http://stackoverflow.com/questions/3451256/javamail-changing-charset-of-subject-line Look at "MimeUtility.encodeText" part. Regards, Ivan
Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events