On 5/15/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote:
robert burrell donkin ha scritto:
> i've come to the conclusion that MimeMessage really isn't suitable for
> use in a protocol like IMAP. IMHO a different server side mail
> abstraction is needed.

I not necessarily disagree with this, but I never found a real technical
motivation for this. Can you list yours?

here are some off the top of my head:

1 a number of methods in MimeMessage return may bad data values rather
than throwing exceptions
2 MimeMessage does not play well with nio
3 the automatic type conversions are unhelpful
4 automatic encoding conversions are unhelpful
5 MimeMessage has a tendency to thrown unhelpful runtime exceptions

(i came up against more difficulties when trying to implement
OpenPGP/MIME but i can't recall then in detail right now)

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to