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


Changing connection information for the EmailInput node

You can create a policy that the EmailInput node or message flow refers to at run time for email server connection information, instead of defining the connection properties on the node or the message flow. The advantage being that you can change the host name and security identity values without needing to redeploy your message flow.

Before you begin

About this task

Use the Email Server policy to change the email server connection information for the EmailInput node.

Procedure

  1. Use the Policy editor in the IBM® App Connect Enterprise Toolkit to create a policy and select Email Server as the policy type (see Creating policies with the IBM App Connect Enterprise Toolkit).
  2. Ensure that the name of the policy is the same as the name that is specified by the Email server property on the EmailInput node.
  3. Set the Email server name property in the policy to the URL of the email server that contains incoming email messages.
    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

    For more information, see Email Server policy (EmailServer).
  4. Set the Security identity (DSN) property in the policy to 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.
  5. Deploy this policy before you start the associated message flow.

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