File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting attachment filename with special characters(JAVA MAIL API)

 
N Naresh
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
N Naresh
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anybody knows the answer? please help me.
 
N Naresh
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am waiting for the answer, how to set encoding type of an email attachment which contains special characters.
The filename itself contains special characters.
 
Rob Spoor
Sheriff
Pie
Posts: 20396
47
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps nobody knows an answer? I certainly don't, or I would have given it.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic