Commons e-mail attachments

2008-03-18 Thread Charl Gerber
Hi, I create pdf documents in memory and want to attach them to outgoing e-mails. I cannot find a way to do it with the EmailAttachment object, I currectly use HtmlEmail.embed(ByteArrayDataSource) for that. It works, but my mail client (Thunderbird) doesn't show the attachment icon next to the mai

Re: Commons e-mail attachments

2008-03-18 Thread Siegfried Goeschl
Hi Charl, have you checked MultiPartEmail.attach(javax.activation.DataSource ds, java.lang.String name, java.lang.String description, java.lang.String disposition) this is what I'm using to attach a PDF document Cheers, Siegfried Goeschl Charl Gerber wrote: Hi, I create pdf documents in

Re: Commons e-mail attachments

2008-03-18 Thread Charl Gerber
Thanks, that was what I was looking for. Its as clear as daylight in the API docs, I must have missed it somehow. duh. Charl --- Siegfried Goeschl <[EMAIL PROTECTED]> wrote: > Hi Charl, > > have you checked > > MultiPartEmail.attach(javax.activation.DataSource > ds, java.lang.String > name,