validate base64 content
843834Jan 13 2009 — edited Jan 14 2009hi,
following my previous post, I would like to validate attachment base64 content before decoding it.
I've read the FAQ about some similar question but all methods i've seen in javamail do the work "in background".
My goal is : get the (mime)bodypart ; validate((mimeBodyPart); if validate() is true => getContent and so on ...!
So How can i read and check each caracter of the non decoded bodypart before doing anything esle.
I don't know how to read bodypart without decode it in fact !! (i've tried datahandler, getContent, ...)
Sure, i missed something ...!
thanks for your help !
Regards
laurent