Thanks a bunch, not sure how I missed this. Saw it for James 2.x

On Thu, Jan 12, 2012 at 2:58 AM, Norman Maurer <[email protected]
> wrote:

> Hi there,
>
> read this...
>
> For james 2.3.x:
> http://james.apache.org/server/2/custom_mailet.html
>
> For james 3.x:
> http://james.apache.org/server/3/dev-extend-mailet.html
>
> Bye,
> Norman
>
> 2012/1/12 Garvice Eakins <[email protected]>
>
> > Still wondering how to register my mailet with James and where I store
> it.
> > Any help would be appreciated.
> >
> > On Wed, Jan 11, 2012 at 8:21 AM, Garvice Eakins <[email protected]
> > >wrote:
> >
> > > Hi,
> > >
> > > OK that makes sense, So even though I am using the Sender, and
> recipient
> > > information, to ensure the email is coming from a valid contact.
> > > I skip writing a matcher and only write a mailet? So instead of
> running a
> > > Match on the mail object, I service the Mail object? Got it.
> > >
> > > Now once I create my Mailet Class. what do I do then? Compile my
> Project
> > > into a .jar file and store it in the lib folder in my James
> installation?
> > > How do I register it to be used?
> > >
> > > ~Garvice
> > >
> > >
> > > On Tue, Jan 10, 2012 at 10:50 PM, Norman Maurer <
> > > [email protected]> wrote:
> > >
> > >> Hi there,
> > >>
> > >> for this purpose you would typically create a custom "Mailet" which
> > >> extends
> > >> "GenericMailet" (not GenericMatcher as you wrote).
> > >> In this Mailet you would put all the needed logic.
> > >>
> > >> Now about the difference of Matcher and Mailet...
> > >>
> > >> The Matcher is used to see which "recipients" should the Mailet be
> used
> > >> on.
> > >> This allows todo some nice routing stuff.
> > >>
> > >> Bye,
> > >> Norman
> > >>
> > >>
> > >> 2012/1/10 Garvice Eakins <[email protected]>
> > >>
> > >> > Hi,
> > >> >
> > >> > Trying to figure out the Mailet/Matcher functionality of James.
> > >> >
> > >> > I created a basic mailet that inherited from GenericMatcher.
> > >> > It takes information from the Mail message, makes a few Rest
> > webservice
> > >> > calls checking the Sender Address against the recipient address, And
> > >> stores
> > >> > some of the data from the email in a MySql DB through the Rest
> > Service.
> > >> >
> > >> > Based on this I don't think I need a Mailet do I..? But I don't
> really
> > >> > understand how to register my Matcher with James, and from what I
> see
> > it
> > >> > looks like I need both somehow?
> > >> >
> > >> > I'm using James 3.2.3
> > >> >
> > >>
> > >
> > >
> >
>

Reply via email to