posted 14 years ago
Hi i am getting problem while getting attachment filename with the speacial characters(file name contains special characters).
I am using MimePart object in order to get the filename with the special characters. How we can get filename with special characters, using MimePart interface of JavaMail Api. I am using mimepart.getFileName() to get the filename, but the filename is getting corrupted if it contains special characters, anybody could you please suggest me how we can get exact filename which contains special characters.