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, 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 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 mail in the inbox. > I > > have to open the e-mail and then see the > attachment at > > the bottom. > > > > Is this a problem with Thunderbird, or indeed > because > > the attachment is embedded and not really > attached? If > > the latter, how can I properly attach it? > > > > Thanks > > Charl > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
