The supporting ews-java-api library is no longer maintained
Please consider using one the following alternatives: No alternative components suggested.
Consumes messages from Microsoft Exchange using Exchange Web Services. The raw-bytes of each received email message are written as contents of the FlowFile
Email, EWS, Exchange, Get, Ingest, Ingress, Message, Consume
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
User Name | user | User Name used for authentication and authorization with Email server. Supports Expression Language: true (will be evaluated using variable registry only) | ||
Password | password | Password used for authentication and authorization with Email server. Sensitive Property: true Supports Expression Language: true (will be evaluated using variable registry only) | ||
Folder | folder | INBOX | Email folder to retrieve messages from (e.g., INBOX) Supports Expression Language: true (will be evaluated using variable registry only) | |
Fetch Size | fetch.size | 10 | Specify the maximum number of Messages to fetch per call to Email Server. Supports Expression Language: true (will be evaluated using variable registry only) | |
Delete Messages | delete.messages | false |
| Specify whether mail messages should be deleted after retrieval. |
Connection timeout | connection.timeout | 30 sec | The amount of time to wait to connect to Email server Supports Expression Language: true (will be evaluated using variable registry only) | |
Exchange Version | mail-ews-version | Exchange2010_SP2 |
| What version of Exchange Server the server is running. |
EWS URL | ews-url | URL of the EWS Endpoint. Required if Autodiscover is false. | ||
Auto Discover URL | ews-autodiscover | true |
| Whether or not to use the Exchange email address to Autodiscover the EWS endpoint URL. |
Mark Messages as Read | ews-mark-as-read | true |
| Specify if messages should be marked as read after retrieval. |
Original Headers to Include | ews-include-headers | Comma delimited list specifying which headers from the original message to include in the exported email message. Blank means copy all headers. Some headers can cause problems with message parsing, specifically the 'Content-Type' header. | ||
Original Headers to Exclude | ews-exclude-headers | Comma delimited list specifying which headers from the original message to exclude in the exported email message. Blank means don't exclude any headers. |
Name | Description |
---|---|
success | All messages that are the are successfully received from Email server and converted to FlowFiles are routed to this relationship |