email-OutgoingAccount

This component is required for sending emails from a station through the smtp transport. It is in the email palette. You add this component under the EmailService component.

Figure 1. Outgoing Account property sheet


PropertyValueDescription
Hostnamemail.name.com, where name varies depending on the host.
Defines the name of the email server. For example mail.acme.com.
PortnumberThe number of the port that the system associates with the email account of the provider. Typically, the outgoing email account number is 25. If you leave the setting at its default value of minus one (-1), the OutgoingAccount searches for and uses a valid port.
Email Authenticatoradditional properties (defaults to O Auth Email Client Secret Authenticator)Defines the type of email authenticator. For property descriptions, refer to “Email Authenticator” properties below.
Pollratehours: minutes: secondsSpecifies how often the account executes a send action. Increasing the pollrate value increases the time between polls. During the time between polls, emails may be queued (up to the max queue size) until the next poll time. At the next poll time all queued emails are sent.
Enabledtrue or false
Activates (true) and deactivates (false) use of the object (network, device, point, component, table, schedule, descriptor, etc.).
Statusread-only
Reports the condition of the entity or process at last polling.

{ok} indicates that the component is licensed and polling successfully.

{down} indicates that the last check was unsuccessful, perhaps because of an incorrect property, or possibly loss of network connection.

{disabled} indicates that the Enable property is set to false.

{fault} indicates another problem. Refer to Fault Cause for more information.

Last Poll Success, Last Poll Failurehours and minutesEach of these properties displays the time of the last polling success and failure, respectively.
Last Poll Failure Causeread-onlyDisplays an error message to indicate the reason for the polling failure.
DebugBoolean propertyTurns debug mode on and off. When on, and the station sends or receives email, the system displays detailed information using the platform’s standard Application Director view.
Use Start Tlstrue or false (default)This property allows you to enable and disable communication security. The option must be set to true or false according to the instructions provided by the email provider.
Note: Use Ssl and Use Start Tls are mutually exclusive. Both may be false. To provide secure email, set one property to true, and the other false. Do not enable or disable the Use Ssl or Use Start Tls properties without configuring the Port.
Tls Min Protocoldefaults to TLSv1.2+Determines the minimum acceptable TLS version to use.
Use Ssltrue or false (default)This encrypts the connection before it is opened. The encryption automatically uses either SSL v3 or TLS (depending on email server requirements). The option must be set to true or false according to the instructions provided by the email provider.
Note: Use Ssl and Use Start Tls are mutually exclusive. Both may be false. To provide secure email, set one property to true, and the other false. Do not enable or disable the Use Ssl or Use Start Tls properties without configuring the Port.
TransporttextSelects among the available email communication protocols. The most common value is SMTP.
Connection TimeouttimeControls how long the station waits for a response from the mail server before generating an exception and setting the fault cause. At the next scheduled poll, the account attempts to contact the mail server again.
Use Authenticationtrue or falseAllows you to require logon credentials for sending any email (true). Sometimes authentication is not required for emails that are routed to recipients within the same domain (as an example of when false would be an appropriate option). The option must be set to true or false according to the instructions provided by the email provider.
Reply Toemail addressThis Property must follow the instructions provided by the email provider. Most often this is the same as the Account Property:myaccount@example.com.
Persistent, Persistent Directorytrue or falsetrue saves each queued email as an .xml file in the designated persistence directory until all emails are sent. Once sent, the system deletes the xml files from the directory. This prevents lost email in the event the station stops before the system can send the emails.
Queue Tracking PropertiesvariousEmails wait in the queue to be sent the next time the system polls the account. The length of time in the queue depends on the poll rate. See "Queue Tracking Properties".
Email Authentication Properties
PropertyValueDescription
Typedrop-down listSelects the type of email authenticator.
Basic Email Client Authenticatoradditional properties

account: Specifies account details.

password: Enter password.

No Auth Email Client Authenticator Indicates that no Auth Email Client Authenticator is used.
O Auth Email Client Secret Authenticator 

authServerMetadataEndpoint:Displays the URI (published by the Identity Provider) that is used to obtain metadata related to the authentication services provided by the Identity Provider. It is used to configure the authentication client for the services supported by the Identity Provider. When specifying this URI, leave off the ‘/.well-known/openid-configuration’ path segment, as it is appended to the property’s value by the authentication client when resolving the authorization server metadata.

account: Specifies the email account/user name for which messages will be sent/received.

clientId: Specifies the clientId of the application that has been registered with the Identity Provider.

scope: Specifies the scopes for which an access token will be requested from the Identity Provider.

clientSecret: Specifies the client secret that is associated with the OAuth client that has been registered with the Identity Provider.

O Auth Email Client Certificate Authenticator 

authServerMetadataEndpoint: Displays the URI (published by the Identity Provider) that is used to obtain metadata related to the authentication services provided by the Identity Provider. It is used to configure the authentication client for the services supported by the Identity Provider. When specifying this URI, leave off the ‘/.well-known/openid-configuration’ path segment, as it is appended to the property’s value by the authentication client when resolving the authorization server metadata.

account: Specifies the email account/user name for which messages will be sent/received.

clientId: Specifies the clientId of the application that has been registered with the Identity Provider.

scope: Specifies the scopes for which an access token will be requested from the Identity Provider.

clientCertificate: Specifies the certificate that is associated with the OAuth client that has been registered with the Identity Provider, which is used as proof of identity during authentication.

privateKeyPassword:

useJWTBearerAssertion: When set to false, token requests to the Identity Provider will use the OAuth Client Credentials grant. When set to true, token requests will use the OAuth JWT Bearer grant, which must be supported by the Identity Provider for this feature to work.

Queue Tracking Properties

PropertyValueDescription
Allow Disabled Queuingtrue or falsetrue allows emails to remain in the queue even when Enabled is false.
Queue SizenumberRefers to the number of emails waiting to be sent in the queue. To clear the queue at any time, right-click on the appropriate outgoing account name (OutgoingAccount) and click Actions > Clear Queue.
Max Queue SizenumberSpecifies how many emails can wait in the queue.
Number SentnumberIndicates the number of emails sent. To reset this number to zero at any time, right-click the appropriate outgoing account name (OutgoingAccount) and click Actions > Reset Number Sent.
Max Sendable Per DaynumberAllows you to limit the number of emails that may be sent daily according to the instructions of email provider.
Number Discardedread-only numberReports how many emails the system did not successfully send.
Last Discardread-onlyDisplays the date and time of the last failed email.
Last Discard Causeread-onlyDisplays an error message that indicates the cause of the last email send failure.