Email Account
Overview
When setting up users, you must also configure Email Accounts so that users can send and/or receive emails.
If you are setting up a service to poll an email account for incoming messages, we recommend you read the article Reading Data From an Email Account (Analysis Models) or Setting up an Email Endpoint (Actionflows), which cover how to do this, plus examples.
If PhixFlow cannot connect to the email server, it will time-out the sending of email after 10 seconds.
Worked Example and Troubleshooting
Properties Tab
Property Pane Toolbar
For information about the toolbar options, see the Common Properties page, Toolbars and Controls section.
Once you have set up an account, hover over the More Options menu and choose Test Configuration to check you have configured the email account correctly.
PhixFlow tests the values currently appearing on the screen. Remember to save the configuration after the test is successful.
Basic Settings
Field | Description | |
---|---|---|
Name | Enter the name of the configured email account. | |
Enabled | Tick to make this email account active. If this is an outbound account, it will be used to send emails whenever required. If this is an inbound account, PhixFlow will connect to the server periodically (at the defined polling interval) and download new messages. | |
Protect During Import | Untick to allow this email account to be updated or deleted by import from another PhixFlow instance. Tick to retain the email account settings if this email account is imported from another PhixFlow instance. Also to prevent this email account being deleted during import. | |
Type | Select Outbound to set this as an outbound email account, used to send emails. There can only be one active outbound account at any one time. Select Inbound to set this as an inbound account, used to receive (download) emails. | |
Host | Enter the host address of the configured email account. | |
Protocol | Available when Type is Inbound. Select the protocol used during the email fetching | |
Encryption | Select the encryption used during the sending or receiving of emails. | |
Use Default Port | Tick to automatically calculate the port from the protocol and encryption type. | |
Default Port | Enter the default port number. | |
Port | Available when Use Default Port is not selected. Enter the port number of the configured email account. | |
Authorisation Type | Select:
| |
Login | Available when Authorisation Type is Local or OAuth2. Enter the username used to log in onto the configured email account. | |
Password | Available when Authorisation Type is Local. Enter the password used to log in onto the configured email account. | |
Username Key | Available when Authorisation Type is External. Enter the alias that identifies the username in the keystore. | Your system administrator adds usernames, passwords and their aliases (keys) to the keystore. They will notify you of the key to use. See Adding Data to a Keystore. |
Password Key | Available when Authorisation Type is External. Enter the alias that identifies the password in the keystore. | |
On Email Received (PhixFlow version 11.3+) | Available when Type is Inbound. Choose from:
| |
Email Endpoint Action (PhixFlow version 11.3+) | Available when Type is Inbound and One Email Received is Trigger an email endpoint actionflow. Select a Email Endpoint to run when an incoming email is received in the designated email account. | |
Client Token Configuration | Available when Authorisation Type is OAuth2. Select an client token to use for OAuth2 authorisation from the dropdown menu or create one from the application repository. | |
Client Token Instance | Available when Authorisation Type is OAuth2. This field is read-only. | |
Status | Available when Authorisation Type is OAuth2. This field is read-only. Select the button to authenticate the email account. | |
Folder | Available when Type is Inbound. Enter the folder which the emails will be fetched from. If using a sub folder, the folder path must be entered here, for example, If left blank, the default inbox folder will be used. Collected emails are saved to FileUploadDirectory\default\in\YYYYMMDD\FolderName, where:
| |
Properties | Enter the 'key=value ' list of the configured email account properties. Each pair should appear on a new line. | |
Test To: | Available when Type is Outbound. Enter the address to which test emails will be sent. | |
Polling Interval (s) | Available when Type is Inbound. Enter the interval, in seconds, of the email fetching from the account. If left blank, the value configured in the server.properties file will be used. | |
Maximum emails fetched in one batch (PhixFlow version 11.3+) | Available when Type is Inbound. Set a maximum number of emails to be retrieved at one time. The default is 50. | |
Process messages after (PhixFlow version 11.4+) | Available when Type is Inbound. Enter a date and time and PhixFlow will ignore any messages received before this time. This is useful where you want to limit the date range of emails to be processed, such as only process new emails from a certain date. | |
Ignore messages older than (hours) (PhixFlow version 11.4+) | Available when Type is Inbound. Enter a number in hours and PhixFlow will ignore any messages received more than that many hours ago. This is useful where you want to limit the date range of emails to be processed, such as only process emails from today and newer. | |
Delete Read Messages | Tick to delete emails from the mail server
| |
Delete After Days | Available when Delete Read Messages is selected. Enter the number of days for which messages are kept before they are deleted from the server. If left empty or set to 0 messages are deleted immediately after they are downloaded. | |
Debug | Tick to output email debug messages to the log files. |
Worked Example and Troubleshooting
Description
We recommend that you always enter a description to explain the purpose of this item.
Audit Tab
Audit Summary
See the Common Properties page, Audit Summary section.