Solved

JavaMail & MimeUtility.encode(). Need help using different encodings.

Posted on 2003-10-30
6
1,153 Views
Last Modified: 2013-11-24
I need to be able to use(send) using specific encodings, for example qp or 8bit.
How do I use MimeMessage & MimeUtility to achieve this? I do not understand the docs at all.
Can you point me to some docs on the internet having examples?
0
Comment
Question by:jerra
  • 4
  • 2
6 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 9650166
0
 
LVL 35

Expert Comment

by:TimYates
ID: 9650183
0
 

Author Comment

by:jerra
ID: 9650250
Thanks! Unfortunately there were no samples using the MimeUtility.encode()   (OutputStream) on any of the links, though there were other stuff there that is worth reading.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 35

Accepted Solution

by:
TimYates earned 200 total points
ID: 9650307
http://www.kickjava.com/?http://www.kickjava.com/974.htm

Shows how to use MimeUtility.encode with an output stream...

(though this shows it being used with SHA encryption)
0
 

Author Comment

by:jerra
ID: 9650385
Thanks! That was exactly what I was looking for.
0
 
LVL 35

Expert Comment

by:TimYates
ID: 9650402
:-)  Good luck!!

Tim.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

867 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

20 Experts available now in Live!

Get 1:1 Help Now