The system also subscribes
all of the people included on the notification to the discussion, and
forwards the reply to those people. Each time anyone uses email to reply
to a message in the discussion, that email message is forwarded to all
other subscribed people. In this way, users can participate in a discussion
without logging into the ENOVIA system.
The email listener is a stand-alone Java program that polls the inbox
of one or more specified users and retrieves emails from the mail server
using pop3 or imap protocols. When an incoming message is found, the
email listener parses the message and forwards relevant information to
a processing JPO (part of the ENOVIA Business Process Services) as xml. The
email listener uses a Java Mail API for communications with the mail
server.
The email listener daemon can process multiple inboxes using a separate
thread for each inbox. It supports Text and HTML email formats but does
not process attachments. Any attachments to emails are dropped, and that
action is logged (if a log file name is defined in the mailListener.xml
file).
The email listener includes these functions
- Use of a mailListener.xml file to determine which inboxes to monitor.
You should configure the mailListener.xml file before you can use Email
Listener.
- Preprocessing of the email message
- Invoking a JPO and passing the xml-processed email message