Thanks Siegfried, I made a build of the latest SVN repository and the e-mail is now correctly displayed as HTML in thunderbird, even without inline images. Good stuff.
The new .jar is 27K vs the original commons-email-1.1.jar that was 30K. Is that correct? Charl --- On Wed, 18/2/09, Siegfried Goeschl <[email protected]> wrote: > From: Siegfried Goeschl <[email protected]> > Subject: Re: Problems with HTML e-mail > To: "Commons Users List" <[email protected]> > Date: Wednesday, 18 February, 2009, 6:08 PM > Hi Charl, > > as my colleagues say : "the problem sits between > keyboard and display" > and it's me ... :-) > > When you look at > https://issues.apache.org/jira/browse/EMAIL you find > that there are a couple of issues still open - so it will > take some > time. Having said that I plan to do cut the RC in the > middle of March > and do the final release at the end of March (at ApacheCon > 2009) > > Cheers, > > Siegfried Goeschl > > Charl Gerber wrote: > > will try... > > > > otherwise, when is the next version available? > > > > What other problems ar ethere? > > > > > > > > --- On Wed, 18/2/09, Siegfried Goeschl > <[email protected]> wrote: > > > > > >> From: Siegfried Goeschl > <[email protected]> > >> Subject: Re: Problems with HTML e-mail > >> To: "Commons Users List" > <[email protected]> > >> Date: Wednesday, 18 February, 2009, 5:46 PM > >> Hi Charl, > >> > >> commons-email-1.1 has some major problems > regarding HTML > >> email layout > >> but those problems were recently fixed (SVN > trunk). Can you > >> build the > >> stuff from SVN using M2? > >> > >> Cheers, > >> > >> Siegfried Goeschl > >> > >> Charl Gerber wrote: > >> > >>> 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: > >>> > >> [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] > > > > > > > > > > --------------------------------------------------------------------- > 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]
