sending UUENCODE mail using javamail API

S

swapexcel

Hi All

Is there a sample java program for sending UUENCODE mail using javamail
API ?

Thanks S.J.
 
R

Roedy Green

Is there a sample java program for sending UUENCODE mail using javamail
API ?

Do you mean literally UUEncode (a very old armouring technique) or
just something to let you push through binary unscathed? Normally you
use Base64.

you will have a loop like this:

sm = new MimeMessage( session );
....
Multipart multipart = new MimeMultipart();
for ( int partIndex=0; partIndex<parts; partIndex++ )
{
multipart.addBodyPart( ... );
}
sm.setContent( multipart );
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top