Mailbox Connector
Overview
This Connector provides access to internet mailboxes (pop or imap). The Connector
can be used in Iterator, Lookup and Delete modes. The Connector uses predefined attribute names for the most used headers. For those
who need more than this use the mail.message property to retrieve the
native message object.
When the connnector is used in Lookup/Delete mode the only searchable headers
are:
- mail.from
- mail.to
- mail.cc
- mail.subject
- mail.messageid
- mail.messagenumber
Configuration
Parameter |
Description |
class |
com.architech.connector.Mailbox |
mailServer |
The mail server hosting the mailbox |
mailUser |
The user name |
mailPassword |
The password for mailUser |
mailFolder |
The mail folder to monitor. For POP3 this can
only be INBOX. For IMAP4 servers this can be any folder available on the
server. |
mailProtocol |
Specify pop3 or imap. |
Predefined Properties/Attributes
The Connector uses the following predefined attributes and properties:
Attribute |
Description |
mail.from |
The From header |
mail.to |
The TO recipient headers |
mail.cc |
The CC recipient headers |
mail.subject |
The subject header |
mail.messageid |
The message-id header |
mail.messagenumber |
The message's internal number |
mail.sent |
The date the message was sent |
mail.received |
The date the message was received |
mail.body |
In case of a single part message this attribute will
contain the message body |
mail.bodyparts |
In case of a multipart message this attribute will contain
a javax.mail.Part
object. |
Property |
Description |
mail.message |
This is the javax.mail.Message
representing the message returned in the entry. |
Downloads
Included in base product since 4.5
See Also
Mailbox EventHandler
|