Hello,

when I create an attachemt and add it to the message
Message.createAttachmentPart... Message.addAttachmentPart...
The Stream set in the DataSource is requested twice
from the DataSource. 

This is an problem because the stream cannot be reset (FileInputStream)
and I dont want to buffer the whole file to be able to
return a new stream whenever the StreamSources 
getStream() method is called.

Any suggestions?

Thanks in advance,

Stefan

<<winmail.dat>>

Reply via email to