commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charl Gerber <charlger...@yahoo.com>
Subject Problems with HTML e-mail
Date Wed, 18 Feb 2009 13:59:52 GMT

Hi, I'm using Commons E-Mail 1.1.

I am sending an e-mail as both HTML and TEXT, but mozilla thunderbird always shows the text
version with the html as an attachment.

However, if I embed an image (only these lines are added!):

String cid = email.embed(MailSender.LOGO_GIF_URL, "GolfCentralLogo");
html = html.replaceFirst("@CID@",  cid);

then thunderbird correctly shows the mail as HTML. I suspect in the embed method something
is done to the e-mail that I have to do myself in case I do not embed images. But what?

Can anyone help?

Thanks
Charl


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


Mime
View raw message