Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem Reading Attachments

 
Sandeep Jain
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello guys ,
I am trying to read mails from mail server. Everything is Ok, except that I am not able to read the files properly which comes as attachment.
ie after storing it on the disk, when i open the file I see all junk charecters in it .
What I notice is, all the mails are comming with
application/ms-tnf format . I tried searching on the net an came accross a package which says that ms-tnef formats are in encoded format.
The package provides the api , however even after that i am not able to read the mails.
following is the site address which provides package for reading tnef formats
if anyone is able to read attchament please send me the code.
This is very urgent for me ....
Any suggestions are welcome...
Thanks in Advance
 
Sandeep Jain
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oops!!Sorry forgot to paste the package url
http://pages.prodigy.net/michael_santovec/decode.htm#ms-tnef
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic