I just made a test and attachments works. What's your servicemix configuration file ?
On 9/27/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
You can implement your own mail marshaler if needed, though I don' t see why it would not work. Try putting some traces in the MimeMailMarshaler to see if attachments are set correctly on the MimeMessage. On 9/27/06, pbarot <[EMAIL PROTECTED]> wrote: > > hi, > when i use MimeMailSender as a destination service for my component, and i > attach any doc then it gives me the attachment as a mail content ( > garbage...:( ) not as an attachment... > if its pdf and i set > <code> NormalizedMessage.addAttachment(name,file(pdf)); </code> > then it gives all the content of PDF in mail body content..not as an > attachment... > please help..urgent... > > also tell me if i can attach from string or Source object directly...i need > to attach doc in email... please reply fast... > > thanks in advance. > -- > View this message in context: http://www.nabble.com/MimeMailSender-gives-problem-with-attachments...-tf2344261.html#a6525233 > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet
-- Cheers, Guillaume Nodet
