| Generates an XML listing of messages from an IMAP mail server.
You must configure this generator with "host", "user", and "pass" parameters
which specifies the mail server host, the user to login as, and the password to use,
respectively. Beware that these passwords will be sent cleartext since the Generator
does not use an SSL-enabled IMAP connection.
Also beware that storing sensitive data, (such as mail usernames and passwords) can
be very dangerous, so please be very careful in the method by which you send the user
and password parameters to the generator.
Instructions: get the JavaMail API jar from http://java.sun.com/products/javamail/, and
the JAF activation.jar from http://java.sun.com/beans/glasgow/jaf.html. Put mail.jar
and activation.jar in xml-cocoon2/lib/local/, and recompile. These jars could actually be
moved to lib/optional and added to jars.xml in the future.
TODO Refactor all of this to use the MailCommandManager, etc...
author: Tony Collen version: $Id: IMAPGenerator.java 433543 2006-08-22 06:22:54Z crossley $ |