Steve Brewin <sbrewin <at> synsys.com> writes: > > Shiv Ganapathy wrote: > > Hi: > > > > I'm doing a project that is supposed to route all out-going > > emails through a > > centralized gateway that runs JAMES and our custom > > application. Now, when the > > mail is sent to the gateway, I want to receive it and process > > it using our > > application, before giving it to JAMES for sending it on its > > way. Can any one > > please guide me as to how to intercept such mails and process them? > > Write a mailet to interface with your application, by direct invocation, JMS > or whatever. Place this mailet in the mailet chain in the appropriate > position for your needs. Where depends on if you want to process all mail, > mail for local delivery, mail for remote delivery and so forth. Once the > mailet chain is understood it will become clear that you can select on most > any criteria you wish. > > As always, the best thing to do is examine the source wherein you will find > examples of mailets that accomplish similar tasks. >
Hey thx for that tip steve. I followed ur advice and sending my mails are no more a problem. Now, I want to to know if Ill be able to intercept mails at JAMES server if my Email Client uses POP3 to access an external mail server to retrieve mails? As in, if an external mail server has a specific kind of mail in itz inbox (like an encrypted one), I need to intercept that before it gets to the email client, and process it accordingly before sending it to the client. Is this possible?? I wat to know if Ill be able to uses JAMES' FetchMail of FetchPop for this. How can I do it? Thanks. Shiv. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
