POP3 File Reader plugin (deprecated) for Jitterbit private agent groups
Introduction
The POP3 File Reader plugin checks for messages on a specified POP3 account, pulls the next unread message, extracts any attached files, and passes them on to the next Jitterbit processing step.
This plugin can be associated only with private agent groups and is not available on the Jitterbit cloud agent groups.
Important
Plugins provided by Jitterbit are deprecated.
Versions
The current version of the plugin is 1.0.7. Prior versions of the plugin may also be in use:
- 1.0.7: Special characters in an attachment name no longer cause errors.
- 1.0.5: Fixed the variable
delete_message
and added the variabletrust
. - 1.0.3: Prior version.
Download and add the plugin
The POP3 File Reader plugin is a standard Jitterbit plugin that is already available in the Management Console Plugins page and does not need to be downloaded or added to the organization.
If directed by support, this plugin can be downloaded at the link provided below and added to the organization.
Associate the plugin with an agent group
The POP3 File Reader plugin must be associated with a private agent group to make the plugin available on all agents in the group.
The plugin is listed in the Management Console Plugins page with a display name of POP3 File Reader.
Set variables and use the plugin in a project
Refer to these topics for information about using plugins in a project:
Input global variables
These global variables can be set and used as input for the plugin. Variables marked as required must be provided.
Name | Type | Required | Description |
---|---|---|---|
host | String | Required | Host name or IP address of the mail server to check. If not using an external mail server, use a value of localhost . |
username | String | Required | User ID on the server. |
password | String | Required | Password for the username on the server. |
port | String | Optional | TCP port for connecting to the server. Normally this is 110 for non-encrypted, or 995 for SSL. Specify a custom value as needed. Default value is 110 . |
trust | String | Optional | If 1 , all hosts will be trusted and certificates will not be checked. This option also forces the use of com.sun.mail.util.MailSSLSocketFactory as the SSLSocketFactory . Available only in versions 1.0.5 and later. |
basedir | String | Optional | Location in which to save attachment files. Defaults to the temp directory as reported to Java by the OS at runtime (java.io.tmpdir ). |
attachment_prefix | String | Optional | Prefix this string to the attachment file name. This is needed if you expect collisions in file names. |
ssl | String | Optional | If 1 , then an encrypted connection will be attempted. Make sure to set the port property appropriately. Default value is 0 . |
delete_message | Boolean | Optional | If set to true , the fetched email will be marked as deleted. Default value is false . Available only in versions 1.0.5 and later. |
Output global variables
These global variables are output from the plugin:
Name | Type | Description |
---|---|---|
number_of_attachments | Integer | The number of attachments that were extracted. |
subject | String | The subject of the email that had the attachment. |
body | String | The body of the email. |
fileX | String | The file attachment name, where X is a number from 1 to number_of_attachments . |
from | String | The email address in the From field of the message. |
number_of_ccs | Integer | The number of CC recipients. |
ccX | String | The email address of CC recipient X , where X is a number from 1 to number_of_ccs . |