• Post Reply Bookmark Topic Watch Topic
  • New Topic

Base64Decode problem  RSS feed

 
susarla bhaskar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,
Iam using javamail,while reading from the pop3 server iam getting message as Base64Encoded format.
How to decode it using javamail api.
Any one can please help me!i have to slove this problem immediately..
[ UD: removed email address ]
Thank you,
Susarla Bhaskar
[ March 07, 2006: Message edited by: Ulf Dittmer ]
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

I've removed the email address from you post, because we like to keep discussions in the forums, so that everyone can benefit from the answers.

One class for base64 coding can be found here; another option is Jakarta Commons Codec.
 
Paul Clapham
Sheriff
Posts: 22379
42
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normally the JavaMail code takes care of decoding attachments that were Base64-encoded. If your question is how to read a message from a POP3 folder, there are examples of that in the "demo" folder of your JavaMail download.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!