You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Mark Tombs <ma...@gmail.com> on 2006/10/01 11:08:01 UTC

Re: Jelly email

I haven't written any unit tests, but I have running samples.  I haven't
tried maven, and don't really know too much about it either.  I am really
just probing for interest at this stage... Ive been using jelly for a while
and wanted to give back.  I need to check with the boss if I can give away
this code :)

/mark

On 9/30/06, Paul Libbrecht <pa...@activemath.org> wrote:
>
> Mark,
>
> I haven't been using jelly:email yet so I am uncomfortable at commenting.
> As far as I can see it seems less rich than yours so I think it could be
> interesting.
>
> Do you have unit tests ? Do you have complete running samples ?
> Have you tried to "maven site" and see the result ?
> Do you have documented samples?
>
> Could you put an archive somewhere for us to look at ?
>
> thanks
>
>
> Mark Tombs wrote:
> > No interest then...
> >
> > On 9/26/06, *Mark Tombs* <mark.tombs@gmail.com
> > <ma...@gmail.com>> wrote:
> >
> >     As promised, some example jelly. Putting multipart=true is a
> >     terrible hack but I couldn't think of a way to tell if the
> >     mail:mail tag contained any parts at the time.
> >     And I can't do multiple to or from, as I didn't need it at the
> >     time of writing either.
> >
> >     <!-- connect to the smtp server -->
> >
> >     <mail:setServer type="smtp" server=" mailserver.notreal.com
> >     <http://mailserver.notreal.com>" port="25" />
> >
> >     <!-- to send a simple, text mail -->
> >
> >     <mail:mail to="mark.tombs@gmail.com <ma...@gmail.com>"
> >     from=" mark.tombs@gmail.com <ma...@gmail.com>"
> >     subject="example simple mail">
> >     This is just a text mail.
> >     </mail:mail>
> >
> >     <!-- send a multi-part mail -->
> >
> >     <mail:mail to=" mark.tombs@gmail.com
> >     <ma...@gmail.com>" from=" mark.tombs@gmail.com
> >     <ma...@gmail.com>" subject="example simple mail"
> >     multipart="true">
> >       <mail:part type="html" encoding="utf-8">
> >             <h1>This an html mail.</h1>
> >       </mail:part>
> >       <mail:part type="plain">
> >            This is the plain text part.
> >       </mail:part>
> >       <mail:part type="image/png" file="path-to-a-file.png" />
> >       <mail:part type="image/png" file="path-to-another-file.png" />
> >     </mail:mail>
> >
> >     <!-- get mails from a pop server -->
> >
> >         <mail:setServer type="POP" server=" pop.fake.com
> >     <http://pop.fake.com>" userName="user" password="********" />
> >
> >         <mail:getMessages var="messages" folder="inbox" />
> >             <core:forEach items="${messages}" var="message">
> >                <!-- do something to the mails -->
> >            </core:forEach>
> >
> >
> >
> >
> >
> >     On 9/26/06, *Mark Tombs* <mark.tombs@gmail.com
> >     <ma...@gmail.com>> wrote:
> >
> >         Hmmm, same dependencies I'm afraid.  I'll sort out some
> >         example jelly later on.
> >
> >         Mark
> >
> >
> >         On 9/26/06, *Paul Libbrecht* <paul@activemath.org
> >         <ma...@activemath.org>> wrote:
> >
> >             What are the dependencies ? I know that the javamail (and
> >             activation)
> >             dependencies of commons-jelly-email have been a problem to
> >             many.
> >             If you can minimize this, it would be interesting.
> >             Can you also send an example jelly snippet ?
> >
> >             paul
> >
> >
> >             Mark Tombs wrote:
> >             > Its completely new. I wrote it for my own use, for
> >             sending multi-part
> >             > mails
> >             > with both plain text and html parts. Its still work in
> >             progress, but I
> >             > thought you might be interested.
> >             >
> >             > On 9/26/06, Dion Gillard < dion.gillard@gmail.com
> >             <ma...@gmail.com>> wrote:
> >             >>
> >             >> Mark,
> >             >>
> >             >> is this an extension of the existing email taglib? Or
> >             something new?
> >             >>
> >             >> http://jakarta.apache.org/commons/jelly/libs/email/
> >             >>
> >             >> On 9/25/06, Mark Tombs <mark.tombs@gmail.com
> >             <ma...@gmail.com>> wrote:
> >             >> > Hi
> >             >> >
> >             >> > I've written some jelly tags for creating emails that
> >             can send
> >             >> multi-part
> >             >> > mails, including html and attachments. I've also
> >             started writing some
> >             >> tags
> >             >> > that can read mail too.  Is this of any interest to
> >             the jelly team?
> >             >> >
> >             >> > On another note, I haven't noticed a lot of
> >             development of jelly
> >             >> recently, and
> >             >> > the ant and maven builds are getting out of date... is
> >             the project
> >             >> active at
> >             >> > the moment?
> >             >> >
> >             >> > thanks
> >             >> >
> >             >> > Mark
> >             >> >
> >             >> >
> >
> ---------------------------------------------------------------------
> >             >> > To unsubscribe, e-mail:
> >             commons-user-unsubscribe@jakarta.apache.org
> >             <ma...@jakarta.apache.org>
> >             >> > For additional commands, e-mail:
> >             commons-user-help@jakarta.apache.org
> >             <ma...@jakarta.apache.org>
> >             >> >
> >             >> >
> >             >>
> >             >>
> >             >> --
> >             >> http://www.multitask.com.au/people/dion/
> >             <http://www.multitask.com.au/people/dion/>
> >             >> Rule of Acquisition #91: Hear all, trust nothing.
> >             >>
> >             >>
> >
> ---------------------------------------------------------------------
> >             >> To unsubscribe, e-mail:
> >             commons-user-unsubscribe@jakarta.apache.org
> >             <ma...@jakarta.apache.org>
> >             >> For additional commands, e-mail:
> >             commons-user-help@jakarta.apache.org
> >             <ma...@jakarta.apache.org>
> >             >>
> >             >>
> >             >
> >
> >
> >
> >
> >
> >
>
>
>
>