Retrieving encrypted mails using JavaMail
1 posts in topic
Flat View  Flat View

Posted By:   Sampath_Sriramadhesikan
Posted On:   Wednesday, March 23, 2005 12:56 PM

This may be a dumb question: Does JavaMail support recognition or retrieval of encrypted email messages?

We tried placing this code fragment in our method to process an encrypted message, but both 'if' conditions failed.

String encrypt[] = m.getHeader("Encrypted");
if(encrypt != null)
System.out.println("*****************ENCRYPTED ");

if (m.isMimeType("multipart/encrypted"))
System.out.println("*****************ENCRYPTED ");

Re: Retrieving encrypted mails using JavaMail

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, March 25, 2005 07:17 PM

Encrypted how, by what encryption scheme? If the message is encrypted using PGP or GPG, it may just be all contained in the body content itself, with nothing in the headers.
About | Sitemap | Contact