commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Goeschl <siegfried.goes...@it20one.at>
Subject [Fwd: Re: org.apache.commons.mail.HtmlEmail setText problem]
Date Fri, 03 Jul 2009 07:41:04 GMT


-------- Original Message --------
Subject: 	Re: org.apache.commons.mail.HtmlEmail setText problem
Date: 	Fri, 3 Jul 2009 01:30:30 +0300
From: 	itay sahar <itay.sahar@gmail.com>
To: 	siegfried.goeschl@it20one.at
References:
<1f8e68710906300948x47101a44i11944336adb7d537@mail.gmail.com>
<4A4A5E33.8020501@it20one.at>
<1f8e68710906301533x6a68383bxc894dfb91efdd323@mail.gmail.com>
<4A4B0F21.8090305@it20one.at>
<1f8e68710907021109w47597c05h852b266f735d2b22@mail.gmail.com>
<4A4CFD81.9000008@it20one.at>



just to be clear for others the naming convention for embed is
: cid:dfgawirjjs
Mean the "cid" cannot be conctat with other string.

Don't you think is about time for a new gmail account ?

Gmail today have features that not fell from outlook  :-)
(You may send me an email to look no problem)

On Thu, Jul 2, 2009 at 9:33 PM, Siegfried Goeschl
<siegfried.goeschl@it20one.at <mailto:siegfried.goeschl@it20one.at>> wrote:

    And "embed" should render an inline image and not an attachment ... :-)

    Cheers,

    Siegfried Goeschl

    itay sahar wrote:
    > Well I have the same code as in the Junit test provided and I do see
    > the images in
    > the email but the images are not inline. They appear at the button of
    > the email like
    > attachments. Is this the main purpose of "embed"?
    >
    > Before sending the mail the HtmlText include:
    >  *<img src="cidNW:dfgawirjjs" height="21" width="9">*
    >
    > Again, I'm looking for a way to send images *inline *rather then
    > referencing to my server.
    >
    > Thanks
    >
    > On Wed, Jul 1, 2009 at 10:24 AM, Siegfried Goeschl
    > <siegfried.goeschl@it20one.at
    <mailto:siegfried.goeschl@it20one.at>
    <mailto:siegfried.goeschl@it20one.at
    <mailto:siegfried.goeschl@it20one.at>>>
    > wrote:
    >
    >     Good news are always welcome - could you check the JUnit tests
    >     regarding
    >     HTMLEmail and embedded in message (see
    >     http://commons.apache.org/email/xref-test/index.html)
    >
    >     Cheers,
    >
    >     Siegfried Goeschl
    >
    >     itay sahar wrote:
    >     > well, 1.2 is much better cause it's works...* great thanks.*
    >     > One more question about the images and HtmlEmail :
    >     >
    >     > I would like to add few pics to the content using the <img
    src".....
    >     > I succeed only by link to the website resource:
    >     > http://mydomain.com/mail/images/logo.gif
    >     > When i tried the embed functionality with the convention:
    >     > <img src=\"cid:"+cid+"\"></html>
    >     > email.embed(new URL(http://mydomain.com/mail/images/logo.gif),
    >     "logo"))
    >     >  The images sent as attachment which isn't what i need. (in the
    >     button
    >     > of the email)
    >     >
    >     > Am I missing something or just use the first way:
    >     > (<img src="http://mydomain.com/mail/images/logo.gif" ...>)
    >     >
    >     > Thanks
    >     >
    >     >
    >     >
    >     > On Tue, Jun 30, 2009 at 9:49 PM, Siegfried Goeschl
    >     > <siegfried.goeschl@it20one.at
    <mailto:siegfried.goeschl@it20one.at>
    >     <mailto:siegfried.goeschl@it20one.at
    <mailto:siegfried.goeschl@it20one.at>>
    >     <mailto:siegfried.goeschl@it20one.at
    <mailto:siegfried.goeschl@it20one.at>
    >     <mailto:siegfried.goeschl@it20one.at
    <mailto:siegfried.goeschl@it20one.at>>>>
    >     > wrote:
    >     >
    >     >     Hi,
    >     >
    >     >     the commons-email-1.1 release features some HTML email
    >     layout problems
    >     >     ... ;-)
    >     >
    >     >     I would recommend using the current release candidate found
    >     under
    >     >
    >     >
    >    
    http://people.apache.org/builds/commons/email/1.2/RC2/staged/commons-email/commons-email/1.2/
    >     >
    >     >     Please give some feedback if the current implementation
    >     solves your
    >     >     problem (or not) ....  ;-)
    >     >
    >     >     Cheers,
    >     >
    >     >     Siegfried Goeschl
    >     >
    >     >     itay sahar wrote:
    >     >     > Hello all,
    >     >     > I've recently added commons-email-1.1 to tomcat lib dir.
    >     >     > I've succeed sending Html message by using setHtmlMsg(...)
    >     >     method to a Gmail
    >     >     > email address.
    >     >     > please note that this was done without using the
    setText(...)
    >     >     method.
    >     >     >
    >     >     > I've also notice that when i use both setHtmlMsg(..) and
    >     >     setText(...) i see
    >     >     > only the text even though
    >     >     > Gmail support html email messages.
    >     >     > So now setText(...)  is in comment. So what else is needed
    >     so i
    >     >     could
    >     >     > combine this two
    >     >     > functions to work together.
    >     >     >
    >     >     > Thanks
    >     >     >
    >     >     >
    >     >
    >     >
    >    
    ---------------------------------------------------------------------
    >     >     To unsubscribe, e-mail:
    user-unsubscribe@commons.apache.org
    <mailto:user-unsubscribe@commons.apache.org>
    >     <mailto:user-unsubscribe@commons.apache.org
    <mailto:user-unsubscribe@commons.apache.org>>
    >     >     <mailto:user-unsubscribe@commons.apache.org
    <mailto:user-unsubscribe@commons.apache.org>
    >     <mailto:user-unsubscribe@commons.apache.org
    <mailto:user-unsubscribe@commons.apache.org>>>
    >     >     For additional commands, e-mail:
    >     user-help@commons.apache.org
    <mailto:user-help@commons.apache.org>
    <mailto:user-help@commons.apache.org
    <mailto:user-help@commons.apache.org>>
    >     >     <mailto:user-help@commons.apache.org
    <mailto:user-help@commons.apache.org>
    >     <mailto:user-help@commons.apache.org
    <mailto: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