Solved

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

Posted on 2003-10-30
6
1,159 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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
topping2 challenge 13 90
Checkbox and ListView in Android Layout 4 65
web application structure 18 76
Detect Closed Loops (circles, figure-8s, etc) in PNG Images 6 31
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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 …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

786 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