You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Charl Gerber <ch...@yahoo.com> on 2009/02/18 14:59:52 UTC

Problems with HTML e-mail

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


Re: Problems with HTML e-mail

Posted by Siegfried Goeschl <si...@it20one.at>.
Well, on Mac OS 10.4 the choice is a bit more limited .... JDK 1.5

Cheers,

Siegfried Goeschl

Charl Gerber wrote:
> I'm building with Java 1.6.
>
>
>
> --- On Wed, 18/2/09, Siegfried Goeschl <si...@it20one.at> wrote:
>
>   
>> From: Siegfried Goeschl <si...@it20one.at>
>> Subject: Re: Problems with HTML e-mail
>> To: "Commons Users List" <us...@commons.apache.org>
>> Date: Wednesday, 18 February, 2009, 7:38 PM
>> Hi Charl,
>>
>> on my box it is around 31KB so I'm a bit puzzled how
>> you get a smaller
>> jar ...
>>
>> Cheers,
>>
>> Siegfried Goeschl
>>
>> Charl Gerber wrote:
>>     
>>> 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
>>>       
>> <si...@it20one.at> wrote:
>>     
>>>   
>>>       
>>>> From: Siegfried Goeschl
>>>>         
>> <si...@it20one.at>
>>     
>>>> Subject: Re: Problems with HTML e-mail
>>>> To: "Commons Users List"
>>>>         
>> <us...@commons.apache.org>
>>     
>>>> 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
>>>>>       
>>>>>           
>>>> <si...@it20one.at> wrote:
>>>>     
>>>>         
>>>>>   
>>>>>       
>>>>>           
>>>>>> From: Siegfried Goeschl
>>>>>>         
>>>>>>             
>>>> <si...@it20one.at>
>>>>     
>>>>         
>>>>>> Subject: Re: Problems with HTML e-mail
>>>>>> To: "Commons Users List"
>>>>>>         
>>>>>>             
>>>> <us...@commons.apache.org>
>>>>     
>>>>         
>>>>>> 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:
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>> 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
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>       
>>>>>           
>> ---------------------------------------------------------------------
>>     
>>>>     
>>>>         
>>>>> 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
>>>>     
>>>>         
>>>       
>> ---------------------------------------------------------------------
>>     
>>> 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
>>     
>
> ---------------------------------------------------------------------
> 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


Re: Problems with HTML e-mail

Posted by Charl Gerber <ch...@yahoo.com>.
I'm building with Java 1.6.



--- On Wed, 18/2/09, Siegfried Goeschl <si...@it20one.at> wrote:

> From: Siegfried Goeschl <si...@it20one.at>
> Subject: Re: Problems with HTML e-mail
> To: "Commons Users List" <us...@commons.apache.org>
> Date: Wednesday, 18 February, 2009, 7:38 PM
> Hi Charl,
> 
> on my box it is around 31KB so I'm a bit puzzled how
> you get a smaller
> jar ...
> 
> Cheers,
> 
> Siegfried Goeschl
> 
> Charl Gerber wrote:
> > 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
> <si...@it20one.at> wrote:
> >
> >   
> >> From: Siegfried Goeschl
> <si...@it20one.at>
> >> Subject: Re: Problems with HTML e-mail
> >> To: "Commons Users List"
> <us...@commons.apache.org>
> >> 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
> >>>       
> >> <si...@it20one.at> wrote:
> >>     
> >>>   
> >>>       
> >>>> From: Siegfried Goeschl
> >>>>         
> >> <si...@it20one.at>
> >>     
> >>>> Subject: Re: Problems with HTML e-mail
> >>>> To: "Commons Users List"
> >>>>         
> >> <us...@commons.apache.org>
> >>     
> >>>> 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:
> >>>>>       
> >>>>>           
> >>>> 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
> >>>>     
> >>>>         
> >>>       
> >>
> ---------------------------------------------------------------------
> >>     
> >>> 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
> >>     
> >
> >
> ---------------------------------------------------------------------
> > 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

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


Re: Problems with HTML e-mail

Posted by Siegfried Goeschl <si...@it20one.at>.
Hi Charl,

on my box it is around 31KB so I'm a bit puzzled how you get a smaller
jar ...

Cheers,

Siegfried Goeschl

Charl Gerber wrote:
> 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 <si...@it20one.at> wrote:
>
>   
>> From: Siegfried Goeschl <si...@it20one.at>
>> Subject: Re: Problems with HTML e-mail
>> To: "Commons Users List" <us...@commons.apache.org>
>> 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
>>>       
>> <si...@it20one.at> wrote:
>>     
>>>   
>>>       
>>>> From: Siegfried Goeschl
>>>>         
>> <si...@it20one.at>
>>     
>>>> Subject: Re: Problems with HTML e-mail
>>>> To: "Commons Users List"
>>>>         
>> <us...@commons.apache.org>
>>     
>>>> 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:
>>>>>       
>>>>>           
>>>> 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
>>>>     
>>>>         
>>>       
>> ---------------------------------------------------------------------
>>     
>>> 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
>>     
>
> ---------------------------------------------------------------------
> 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


Re: Problems with HTML e-mail

Posted by Charl Gerber <ch...@yahoo.com>.
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 <si...@it20one.at> wrote:

> From: Siegfried Goeschl <si...@it20one.at>
> Subject: Re: Problems with HTML e-mail
> To: "Commons Users List" <us...@commons.apache.org>
> 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
> <si...@it20one.at> wrote:
> >
> >   
> >> From: Siegfried Goeschl
> <si...@it20one.at>
> >> Subject: Re: Problems with HTML e-mail
> >> To: "Commons Users List"
> <us...@commons.apache.org>
> >> 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:
> >>>       
> >> 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
> >>     
> >
> >
> ---------------------------------------------------------------------
> > 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

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


Re: Problems with HTML e-mail

Posted by Siegfried Goeschl <si...@it20one.at>.
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 <si...@it20one.at> wrote:
>
>   
>> From: Siegfried Goeschl <si...@it20one.at>
>> Subject: Re: Problems with HTML e-mail
>> To: "Commons Users List" <us...@commons.apache.org>
>> 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:
>>>       
>> 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
>>     
>
> ---------------------------------------------------------------------
> 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


Re: Problems with HTML e-mail

Posted by Charl Gerber <ch...@yahoo.com>.
will try...

otherwise, when is the next version available?

What other problems ar ethere?



--- On Wed, 18/2/09, Siegfried Goeschl <si...@it20one.at> wrote:

> From: Siegfried Goeschl <si...@it20one.at>
> Subject: Re: Problems with HTML e-mail
> To: "Commons Users List" <us...@commons.apache.org>
> 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:
> 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

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


Re: Problems with HTML e-mail

Posted by Siegfried Goeschl <si...@it20one.at>.
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: 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