Open Horcrux7 opened 1 year ago
Okay, hmm. I assume you're using bcjmail not bcmail, the workaround's okay - I wouldn't say what you're seeing is a feature, it's just rather difficult to work out who's bug it is - com.sun.mail.imap is way out of our jurisdiction.
I assume you're using bcjmail not bcmail
No, we use currently bcmail with the old javax
package. The jakarta
is required first for version 2.x of the jakarta.mail
. Good to know that there are also two package names here. I had overlooked this until now.
com.sun.mail.imap is way out of our jurisdiction.
This was also my first thought. But the content data, the message text was 100% identical for both. Which data are part of the message-digest
?
Because there are no line number information in the library it is difficult to debug. I also does not understand what is going on in the library.
I get the follow exception if I verify an IMAP MimeMessage directly.
If I copy the message or load the saved message with the follow line then it is working
The difference that I see is that the result of the follow expression is a
com.sun.mail.imap.IMAPBodyPart
orjavax.mail.internet.MimeBodyPart
:My verify code look like:
I use the library versions:
Is this a bug? Can I use the workaround without risk?
testmail.zip