The Email Settings connect FlexDeploy to your email server, allowing for outgoing email notifications and, if enabled, incoming reply processing for approval responses.
...
Child pages (Children Display) | ||
---|---|---|
|
Outgoing Email Settings
...
Property | Description | Default Values |
---|---|---|
Auth Type | Authentication method for connecting to the outgoing email server. Typically, SMTP is used, but when OAuth is enabled, Microsoft Graph API is also supported. | Basic Auth |
Host Name |
Hostname for the outgoing email server. |
|
Host Port |
Port number for the outgoing email server. | 25 |
SMTP Auth Type
Authentication method to use for SMTP, defaults to Basic Auth. Select OAuth if you would like to use OAuth with Microsoft Office 365.
Basic Auth
SMTP User
SMTP Authentication user
SMTP Password
User Name | Outgoing email authentication username. If using OAuth, this must match the user who completed the Authorize action for Microsoft Azure application on the System Settings - Integration Settings page. | |
Password | The outgoing email user's password. This is not required when using OAuth. |
OAuth Application |
OAuth application |
configured and authorized on the System Settings - |
Integration Settings. |
From Address | Address from which all outbound emails are sent |
| ||
SMTP Enable STARTTLS | Enables the use of the STARTTLS command (if supported by the server) to switch the connection to a TLS-protected connection before issuing any login commands. Reference - https://kunder.support/knowledgebase/400/SSL-vs-TLS-vs-STARTTLS.html | true | ||
SMTP Properties | SMTP Server Properties. These are all the properties applied when connecting to your mail server. Depending on your mail server you may need to add more properties than the default below. With this field you have access to the follow variables to use in the SMTP Properties:
Default SMTP Properties
| PROTOCOL=smtp |
Incoming Email Settings
...
Property | Description | Default Values | |||||
---|---|---|---|---|---|---|---|
Enable Email Approval | Enable approvals by email reply. Requires additional IMAP related configurations to read email replies. | false | IMAP Host Name | Host name of the IMAP server for inbound email processing. Required if email approvals are enabled.This requires the hostname/port and additional properties based on the authentication type. | false | ||
Auth Type | Authentication method for connecting to the incoming email server. Typically, IMAP is used, but when OAuth is enabled, Microsoft Graph API is also supported. | Basic Auth | |||||
Host Name | Hostname for the incoming email server. |
| |||||
IMAP Host PortHost | port of the IMAP server for inbound email processing. Required if email approvals are enabledPort number for the incoming email server. | 993 | |||||
IMAP Auth Type | Authentication method to use for IMAP, defaults to Basic Auth. | Basic Auth | |||||
IMAP User | IMAP Authentication user. Defaults to the SMTP User. | IMAP Password | The IMAP User's Password. Defaults to the SMTP Password. Not applicable when using OAuth. | IMAP OAuth Application | The OAuth application that was setup on the System Settings - Integrations page for email purposes. Only applicable when using OAuth. User Name | Incoming email authentication username. If using OAuth, this must match the user who completed the Authorize action for Microsoft Azure application on the System Settings - Integration Settings page. Defaults to the incoming email username. | |
Password | The incoming email user's password. This is not required when using OAuth. Defaults to the incoming email password. | ||||||
OAuth Application | OAuth application configured and authorized on the System Settings - Integration Settings. Leave blank to use the same app as outgoing email. | ||||||
IMAP Enable STARTTLS | Enables the use of the STARTTLS command (if supported by the server) to switch the connection to a TLS-protected connection before issuing any login commands. Reference - https://kunder.support/knowledgebase/400/SSL-vs-TLS-vs-STARTTLS.html | false | |||||
IMAP Properties | IMAP Server Properties. These are all the properties applied when connecting to your mail server. Depending on your mail server you may need to add more properties than the default below. With this field you have access to the follow variables to use in the IMAP Properties:
Default IMAP Properties
| PROTOCOL=imap | |||||
Email Reply Folder | The email folder to process replies from. Defaults to INBOX if not specified. All inbound emails will be sent to default inbox folder, but rules can generally be configured on mail servers to move them to other folders if desired.
| INBOX | |||||
Approval Reply Address | Return address for approval replies. Defaults to the SMTP outgoing email From Address.
| ||||||
Email Reply Process Interval | Frequency in which FlexDeploy processes inbound messages from the Email . Required if email approvals are enabled. Default value is 5 minutes. | 5 | |||||
Email Reply Process Count | Number of email messages which are read and processed each interval. The limit prevents Spam or DoS attacks from impacting the performance of the FlexDeploy server. Required if email approvals are enabled. Default value is 30 messages. | 30 |
Info |
---|
Once the configuration is complete, you can test the configuration by clicking on the Test Email Configuration button located at the bottom next to Save.
|
Other Settings
Property | Description | Default Values |
---|---|---|
Attach Logs | Whether or not to attach logs to the notification email for Request Completed and Request Failed events. If set to Never no logs will be attached (this is the default option). If set to Always all execution logs will be attached. If set to On Failure only the log(s) where the failure occurred will be attached. If only 1 log is present, just that log file will be attached it will be named "<InstanceName>_<StepNumber>_<StepName>_<EndPoint>(<PluginExecutionId>).log". If multiple are present they will be put into a zip folder and attached that way. The logs will be named "<StepNumber>_<StepName>_<EndPoint>(<PluginExecutionId>).log". The zip file will be named "<InstanceName>_logs.zip". | Never |
Info |
---|
Once the configuration is complete, you can test the configuration by clicking on the Test Email Configuration button located at the bottom next to Save.
|
Connecting via OAuth
After entering the required OAuth information, you must click the authorize button which will open a new window where you can login to the chosen provider and authorize FlexDeploy for Email access.
...
Please make sure there are no extra special chars while copying SMTP or IMAP properties in the property box.
To run SMTP in debug mode set the Log level to finest .and logs can be found at Catalinacatalina.out