Skip to main content

xSuite Interface Windows Prism 5.x – Online Help

General Properties

Property

Description

.ProxyServer

Proxy server for connection to the mail server (optional)

Syntax: see Proxy Server Connection

Property

Description

.Url(*)

Address of the Exchange Server in the form of a URL

This property only applies to the EWS interface. A correct URL typically ends with /ews/exchange.asmx.

Default value: https://outlook.office365.com/ews/exchange.asmx (address for an Exchange Online in the Microsoft Cloud)

.UserMailForAutoUrl

Email address of the user for automatic determination of the .Url value (optional)

This property only applies to the EWS interface.

.Version

Identifier of the API version of the Exchange server

This property only applies to the EWS interface.

Default value: Exchange2016 (The default value does not generally need to be configured.)

.OAuthClientAppId(*)

.OAuthTenantId(*)

.OAuthClientSecret(§)

Application ID and tenant ID for token-based OAuth authentication against an Azure Active Directory

This property only applies to the EWS and Graph interfaces.

By default, "delegated authentication" is performed for the user defined (see the .User property at Sending Emails). If you also specify a client secret, "app-only authentication" will be performed instead. In the .User property, also configure the primary email address of the user whose mailbox is to be accessed. The .Password property is not relevant in this case.

Access to Gmail requires token-based OAuth authentication. The Gmail interface does not support private accounts, only Google Workspace accounts that belong to a domain.

These user accounts are accessed via a service account. In order to access user data, domain-wide authorizations must be delegated to this service account. For xSuite Interface, a project must first be created in the workspace administration to which the service account is assigned. The "Gmail API" must be activated for the project. To access the users' mailboxes, only the users' email addresses (.User) must be specified, but not their passwords (.Password).

Property

Description

InputSystem.ServiceAccountEmail*

Email address of the service account

InputSystem.ServiceAccountKeyFile*

InputSystem.ServiceAccountKeyFilePassword*

A key in P12 format must be generated for the service account in the workspace administration, which is downloaded as a file. This key file is required at runtime to retrieve an authentication token. The path of the file must be specified under .ServiceAccountKeyFile.

The file is assigned the default password notasecret by Google. xSuite Interface automatically saves a P12 file that still uses the default password with the .ServiceAccountKeyFilePassword to be used in the future under the same file name. A backup copy of the original file is created with the suffix .original, which is usually no longer required and should be irrevocably deleted.

InputSystem.Scope[]

Specification of the Google API areas to which xSuite Interface has access (optional)

Default value: MailGoogleCom

The full list of value specifications is stored in the configurator application. Alternatively, the URLs behind these values (e.g., https://mail.google.com/), can be specified directly.

Property

Description

.Host

Name or IP address of the mail server

.Port

Numerical specification of the IP port to be used

Default values without/with TLS usage:

  • POP3: 110 / 995

  • IMAP: 143 / 993

  • SMTP: 25 / 465

.UseTls

Boolean value determining whether the connection to the mail server is secured via SSL/TLS

Default value: TRUE

.StartTls

Boolean value determining whether the communication with the mail server is initiated according to the STARTTLS procedure

Default value: TRUE

.CloseConnection

Boolean value determining whether the connection is explicitly closed again after each command to the mail server

This property only applies to the SMTP protocol.

Default value: TRUE

.ReconnectInterval

Numeric value for a time interval in which the connection to the mail server is automatically disconnected and re-established (in seconds)

This property only applies to the IMAP protocol.

Default value: 0 (i.e., the connection is only re-established as required).

.ForceEndSession

Boolean value determining whether the connection to the mail server is explicitly terminated after each request and re-established with the next one

This property only applies to the POP3 protocol.

Default value: TRUE

The mail API used for the POP3, IMAP and SMTP protocols provides an extended logging option for analyzing communication problems with the mail server. If the extended logging option is enabled, the original data streams of these protocols will also be logged. No separate configuration property is available for this. It is implicitly linked to setting the option Logging.Level: "Trace" option.