Solved

How to use javax.mail.internet.MimeMessage to decode and encode

Posted on 2010-11-26
3
976 Views
Last Modified: 2012-05-10
1. How to use javax.mail.internet.MimeMessage to decode automatically email in base64,double-quotable, etc..  to plain text

2. How to use javax.mail.internet.MimeMessage to encode email to base64 and output to a file without connecting to smtp server.

Thanks!
0
Comment
Question by:Hoboly
3 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 34216620
0
 
LVL 24

Accepted Solution

by:
Tomas Helgi Johannsson earned 500 total points
ID: 34238928
             Hi!

Here are some email examples
http://www.java2s.com/Code/Java/Email/Email-Message.htm

The J2EE 6 API
http://download.oracle.com/javaee/6/api/

Look at the writeTo(OutputStream ... ) how to write to FileOutputStream or other Streams. :)

Hope this helps.

Regards,
    Tomas Helgi
0
 
LVL 92

Expert Comment

by:objects
ID: 34838513
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Python Assistance 7 36
Salesforce Campaign - 4,500 members 5 51
java  and programming certification ? 4 65
Email Relay Service 4 22
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
This Micro Tutorial demonstrates  how Internet marketers work with competitive analysis data, and a common task in data preparation is creating separate column for domains. You will then extract from a list of URLs.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now