Changing connection information for the EmailOutput node

You can configure the SMTP server, port number, and security identity for the EmailOutput node as an integration node external resource.

About this task

Use an alias that is specified in the SMTP Server and Port property on the EmailOutput node. The security identity refers to a user ID and password pair that is defined on the integration server by using the mqsisetdbparms command. As documented for the mqsisetdbparms command, you must stop and start each integration server that uses a particular DSN, before the information that was modified by the mqsisetdbparms command is read and used by that integration server.

Procedure

  1. Use the Policy editor in the IBM® App Connect Enterprise Toolkit to create an SMTP policy for the alias that is specified on the node (see Creating policies with the IBM App Connect Enterprise Toolkit).
  2. Set the SMTP server name property to an appropriate value in the form server:port.
    The port value is optional; if you do not specify it, the default value is 25. You can also specify a policy name in the format {policyProjectName}:policyName. The SMTP policy can be used to specify a security identity that is resolved at runtime for authentication with the SMTP server.

    If you plan to authenticate with the SMTP server by using a userid and password, you can choose to define the security identity by using either the mqsicredentials command or the mqsisetdbparms command. If you are intending to use the OAuth (Open Authorization) standard, you must use the mqsicredentials command to provide a userid and access token.