Receiving emails

You can configure the EmailInput node to receive an email, with or without an attachment, from an email server that supports Post Office Protocol 3 (POP3) or Internet Message Access Protocol (IMAP).

About this task

You can use the Email server property on the EmailInput node to specify the protocol, host name, and port of the email server that the integration server uses to receive emails. Alternatively, you can specify a policy name that refers to an Email Server policy that is defined on the integration server. If the value of the Email server EmailInput node property is set to the defined policy name, any values set by the administrator on the command line are used in preference to any statically defined value.

The following list details the order of preference for value selection:
  1. The email server URL value that is specified in the Email Server policy Email server name property, if a policy exists that matches the name that is supplied in the Email server EmailInput node property.
  2. The email server URL value of the Email server property that is specified directly on the EmailInput node.
While most policy properties are set by using the Policy editor, security identity support, such as an email server user ID and password pair, is typically set by using the mqsisetdbparms command. Security identity support can be configured by setting the Security identity EmailInput node property or Email Server policy Security identity property to reference a security identity object. However, the security identity object must first be created by using the mqsisetdbparms command, for example:
mqsisetdbparms INODE -n email::mySecurityIdentity -u myUserID -p myPassword
mqsichangeproperties INODE -c EmailServer -o myEmailConfigurableServiceName -n 
securityIdentity -v mySecurityIdentity

For more information about email server security identity support, see mqsisetdbparms command.

The topics in this section describe the different ways in which you can use the EmailInput node to receive email messages.

Procedure