[prev in list] [next in list] [prev in thread] [next in thread]
List: james-user
Subject: Re: StreamBased DataSource instead of byte[] ?
From: tobe <torbjorn.gannholm () swipnet ! se>
Date: 2004-05-31 21:16:22
Message-ID: 40BBA0A6.6020405 () swipnet ! se
[Download RAW message or body]
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: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic