Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Java Business Integration (JBI) [ARCHIVE]
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Oct 9, 2008 8:23 AM by
help:how to use addAttachment method in NormalizedMessage
Oct 9, 2008 8:23 AM
i have a problem about the NormalizedMessage's addAttachment method ,it is below:
public void addAttachment(java.lang.String id, javax.activation.DataHandler content) throws MessagingException
i have a string .i want to transfer it to a certain SE as the attachment. how can I do!?
i try to do it as below
addAttachment("someid", new DataHandler(wantedString,"text/plain"))
it does works in my computer with Window OS. however it DOESNOT WORK in Linux OS.?why?
who can give me the correct using about DataHandler?
many thanks .
This content has been marked as final.
Show 0 replies