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]

Reply via email to