Hi Kristjan, I have experience with JPEG, GIF and Octed-Stream over MIME. That's working well.
Best Regards, Toshi (Toshiyuki Kimura) <[EMAIL PROTECTED]> R&D Headquarters NTT DATA Corporation ----- Original Message ----- From: "Kristj�n Bjarni Gu�mundsson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 04, 2003 11:17 PM Subject: RE: Change Content-Type for attachments? > > "Toshiyuki Kimura" <[EMAIL PROTECTED]> wrote on 04.04.2003 > 13:07:27: > > > Hi Kristjan, > > > > Have you try with the following signature ? > > DataHandler(java.lang.Object obj, java.lang.String mimeType); > > I have tried putting a FileDataSource as the object and a mime type. > Then the mime type is correct however then the content of the file is > not included, its just empty. > > What kind of Objects can you but into the DataHandler? > I am using DIME if that makes any difference. > > > Best Regards, > > > > Toshi (Toshiyuki Kimura) <[EMAIL PROTECTED]> > > R&D Headquarters > > NTT DATA Corporation > > > > -----Original Message----- > > From: Kristjan Bjarni Gudmundsson [mailto:[EMAIL PROTECTED] > > Sent: Friday, April 04, 2003 9:50 PM > > To: [EMAIL PROTECTED] > > Subject: Change Content-Type for attachments? > > > > How can I change the Content-Type for AttachmentParts? > > > > AttachmentPart.setMimeHeader("Content-Type","image/gif") > > > > Doesn't work at all. > > > > > >
