james-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxime Lévesque <maxime.leves...@gmail.com>
Subject Re: Simple SMTP service that dumps raw emails in a database table
Date Tue, 15 Feb 2011 18:33:33 GMT
Well almost, once dumped in the BD (and the transaction commited), I want to
read the raw email
(I'm thinking that Mime4J would be the way to parse it an extract the
standard info from it), then
flag the row as processed, and later on delete it...

Thanks !

On Tue, Feb 15, 2011 at 1:23 PM, Norman Maurer <norman@apache.org> wrote:

> Hi there,
>
> so you want to just "dump" the mail content in a db when receive it
> via smtp (DATA command) and nothing more ?
>
> Bye,
> Norman
>
> 2011/2/15 Maxime Lévesque <maxime.levesque@gmail.com>:
> > Here is my need :
> >
> >  I want to write a service that listens on a port for incoming mail via
> SMTP
> > and
> >  stores it in a database table, in the raw MIME format, so they can be
> > processed
> >  later with Mim4J.
> >
> >  I know that Mailets do this, but they store them in their internal table
> > (it seems
> >  as if active MQ also stores them in a spool table).
> >
> >  What I want is the most minimalist solution, idealy if would depend on
> as
> > few
> >  components as possible, and have as little config as possible.
> >
> >  Thanks
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message