IBM App Connect Enterprise, Version 11.0.0.2 Operating Systems: Windows, Linux


Email Server policy (EmailServer)

Attach an Email Server policy to one or more EmailInput nodes in a message flow to control the connection to an email server at run time.

You use an EmailInput node in a message flow to retrieve email from an email server. You can use an Email Server policy to control, at run time, the connection details for the email server.

To attach an Email Server policy to an EmailInput node, set the Email server property of the EmailInput node to the name of the policy, in the format {policyProjectName}:policyName. You must deploy this policy before the associated message flow is started.

The properties of this policy are described in the following table.
Table 1. Properties of the Email Server policy
Property Property name in .policyxml file Value
Email server name emailServer This mandatory property specifies the URL of the email server that contains incoming email messages. The URL includes the protocol, host name, and port number, which is the minimum information you need to connect to the email server. The URL must be in the format protocol://hostname:port, where:
  • protocol can be pop3, pop3s, imap, or imops.
  • hostname is the Internet Protocol version 4 (IPv4) TCP/IP address or DNS-resolvable host name of the email host.
  • port is the port number that the email server is listening on for connections over Post Office Protocol 3 (POP3) or Internet Message Access Protocol (IMAP). You can enter an integer in the range 1 - 65535.
For example:

pop3://myemailserver.com:12345
imap://myemailserver.com:56789

You can configure secure pop3/imap with any of the following examples:

pop3s://myemailserver.com:12345
imaps://myemailserver.com:56789

If you use one of these methods, you must also configure your JVM with the keystore and truststore credentials.

You can obtain the host name and port number from the email server or email server administrator.

Value type: String

Security identity (DSN) securityIdentity This mandatory property specifies the name of the security identity object that contains the user ID and password that is used to authenticate the connection to the email server.

Value type: String


py00113_.htm | Last updated 2018-11-02 14:46:47