commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Goeschl <siegfried.goes...@it20one.at>
Subject Re: Commons e-mail attachments
Date Tue, 18 Mar 2008 11:12:50 GMT
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: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message