Hello Noel:
My configuration is this one:
__________ _______
________
| Process A | -------------------------> | James
| ----------------------------->|Process B|
__________ ------>|Account|------
________
| _______
|
_______ |
| _______
| Sender
------------------------>|Receiver|
_______
_______
process A send an email thru the internet, to an account that is intended to
be processed by process B.
process B connect to the mail account, thru the internet, to get back this
message and process it. This pocess can't be execute into the server.
On the other hand, the owner of the mail account can use outlook to read his
message.
I heard about mailet but I don't think that in this case it can works.
Do you have a sample that shows me how to delete a mail? I tried also with
setFlag followed by savechange methods, but this also doesn't work.
How can you sort the list of mails that you get back from james? I use file
system solution to store messages but mysql database to store users &
password.
Thanks,
Guy
----- Original Message -----
From: "Noel J. Bergman" <[EMAIL PROTECTED]>
To: "James Users List" <[EMAIL PROTECTED]>
Sent: Friday, October 18, 2002 6:02 PM
Subject: RE: Using James as an Internal Messages file and a mail server.
> Guy,
>
> My understanding of your configuration was this:
>
> (1) User has a mailbox (or forwarding address) on a James server.
> (2) Somewhere elsewhere in an application, you generate a special
> e-mail, and tag it with an X-header, such as X-GuySpecialHeader.
> (3) The e-mail goes through the Internet to the James server.
> (4) James receives the e-mail.
> (5) During normal message processing, a <mailet> using the HasHeader
> matcher identifies the special message, and passes it to a custom
> mailet class for processing. That class does whatever is necessary,
> and then ghosts (deletes) the e-mail.
>
> The e-mail would have been processed, and never seen by the user.
>
> Does this make sense to you? Are you familar with the model of matchers,
> mailets and processors used by James?
>
> --- Noel
>
> -----Original Message-----
> From: Guy Smadja [mailto:guysmadja@;yahoo.fr]
> Sent: Friday, October 18, 2002 10:30
> To: James Users List
> Subject: Re: Using James as an Internal Messages file and a mail server.
>
>
> Each email account receives user and internal mails.
>
> Ok for using X-header to get back internal email thru the internet, but, I
> think that if the user uses a common mail client like outlook, he'll get
> also this internal message.
> Those internal mails had to be hiding to users.
>
> ----- Original Message -----
> From: "Noel J. Bergman" <[EMAIL PROTECTED]>
> To: "James Users List" <[EMAIL PROTECTED]>
> Sent: Friday, October 18, 2002 3:24 PM
> Subject: RE: Using James as an Internal Messages file and a mail server.
>
>
> > Do you send internal messages to a particular (special) user account?
Are
> > you planning to read them from James by an external application, or
> > processed internally by a mailet?
> >
> > If you are sending internal messages to arbitrary accounts, you can tag
> then
> > with an X- header, and then use that to filter. In the CVS is a
> "HasHeader"
> > matcher. I'm also working on some Regex matchers, which I'm currently
> > running internally.
> >
> > --- Noel
> >
> > -----Original Message-----
> > From: Guy Smadja [mailto:guysmadja@;yahoo.fr]
> > Sent: Friday, October 18, 2002 3:57
> > To: [EMAIL PROTECTED]
> > Subject: Using James as an Internal Messages file and a mail server.
> >
> >
> > Hello,
> >
> > First some definitions
> > -Internal messages file: file that contains messages sent by my software
> to
> > a user email account, intended to be processed by my software.
> > -Mail server: manage mail that are sent by any user to a user email
> account,
> > intended to be read by the owner thu outlook for example.
> >
> > Is there a solution that allows to filter messages (give user back email
> he
> > receives, and hide internal message / give software, internal message
and
> > hide user message) on an email account.
> >
> > Thanks
> >
> > Guy
>
>
> --
> To unsubscribe, e-mail:
<mailto:james-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:james-user-help@;jakarta.apache.org>
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com
--
To unsubscribe, e-mail: <mailto:james-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:james-user-help@;jakarta.apache.org>