On Tue, Jul 21, 2009 at 5:50 PM, LUNDY Guillaume IT&l...@bs<guillaume.lu...@orange-ftgroup.com> wrote: > We would like to create a component to do some work between the mail client > (like thunderbird) and the mail server (that stores mails)
ok - makes sense to me know james can help but you'll probably need to do some custom development the first thing you need to be aware of is that POP3, SMTP and IMAP are not RESTful protocols. so, using HTTP request-response as an analogy is likely to mislead you. the general structure of these protocols is that they open a socket, the client then sends a stream of commands to the server, and the server sends responses to the client. for SMTP, the best approach would be to accept mail through the James SMTP then use a mailet to process the incoming mail POP3 and IMAP will be more work. you'll need to create alternative command implementations. - robert