Ian Huynh wrote:

we want to be able to send and receive emails with very large multipart
mime (400 Meg or larger)
email messages (Customer requirements). And it looks like the only way
to do that (via mimebodypart) is to implement data source since MimeBodyPart only
supports creation via byte[] array
but not stream.




I had to implement DataSource recently and it turned out not to be so difficult, all you really need is to provide an implementation for getInputStream(). BTW, I used Sun's implementation of JavaMail. Don't know what happens after I set my DataSource to the MimeBodyPart, though.

/tobe

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



Reply via email to