Back Forward Email Listener form
Completing the Properties tab

  1. About 
  2. New 
  3. Properties 
  4. Process 
  5. History 
  6. More... 

Use the Properties tab to specify how to retrieve email messages and which email service rules to use for routing.

If you make changes to an existing listener, you must stop and re-start the service for the changes to take effect.

Listener nodes

Field

Description

Listener
Nodes
 
Startup Option

Select to control how listeners start:

  • Run on all nodes — The listener is run on all nodes — all servers in a cluster.
  • Node based startup — The listener is started only on specified nodes.
  • Host based startup — The listener is started on a specified number of nodes on specific servers within the cluster.
Node ID

add rowAppears when the Node based startup option is selected. In a multinode PRPC cluster, using the SmartPrompt, enter the node ID of the server host node or nodes where this listener is to run. When a PRPC server starts it activates the listener on the current node if the current node matches any node in the list (and if other requirements are met).

  • If a node is specified, the current node must match a name in the list for PRPC to activate the listener.
  • If a node is not specified, PRPC does not activate the listener on any node.

CautionOperating a listener on multiple nodes can increase throughput.

Host Name

add rowAppears when the Host based startup option is selected. Enter the network location name of the host server on which the listener is to start.

Node Count

Appears when the Host based startup option is selected. Enter the number of nodes on each host server that are to start the listener.

Reset Startup

Deletes all the instances from the class Log-Connect-AssignedNodes, so that listeners can be started.

Account Information

Field

Description

Account Name

Enter the name of the Email Account rule that the listener references for incoming and outgoing email. You must enter an account or the rule will not validate when you Save. You can create the rule on the fly.

Listener Properties

Field

Description

Folder Name

Enter the name of the email folder that the listener is to monitor, typically INBOX.

Latency Period

Enter the duration of this listener's rest period in seconds. After the amount of time specified, the listener checks the email folder specified for messages. It processes all messages and then rests for this amount of time before waking up to check the inbox for messages again.

Maximum Number of Messages

Enter the maximum number of messages this listener processes at runtime before it pauses for a rest period. The minimum is one message.

Maximum Processing Time

Enter the maximum duration in seconds for which this listener can process messages before the system forces it to start a rest period. The minimum is 1 second.

Concurrent Threads

Identify the number of threads per server node that this listener requestor creates when it starts.

Message Format

SmartPromptSelect Text, XML, or SOAP to identify the expected format of the messages. If you choose SOAP, the system processes arriving messages using Service SOAP rules. Otherwise, it uses Service Email rules.

Service Package

SmartPromptFor email messages, enter the Service Package name — first key part — of the Service Email rule.

For SOAP messages, select the Customer Package Name — first key part — of the Service SOAP rules that are to process arriving email messages. The listeners based on this data instance only process messages that identify this package; they ignore other messages.

Service Class

SmartPromptFor email messages, enter the Service Class name — second key part — of the Service Email rule.

For SOAP messages, identify the second key part of the Service SOAP rules that are to process arriving email messages (Customer Class Name). The listeners process messages that identify this name (in addition to the package name) only.

Service Method (Text/XML Only)

SmartPrompt For text or XML email messages, identify the Service Method key part of a Rule-Service-Email rule.

For SOAP messages, leave blank. For SOAP messages, the third key part to the service rule is determined in the incoming message, by the first child of the SOAP body element.

Send Email As

When an incoming email message has only one addressee in the email To field, that same value is used as the From party if the service rule that processes the messages generates a response. If incoming email messages may more than one addressee in the To field, specify an email address to use as the From party in this field. The value in this field overrides the value specified in the Send Email As field in the email server data instance. This entry must be a valid email address based on your email host server settings.

This field supports the Global Resource Settings syntax (=.PageName.PropertyName). The default property name for this field is pyReplyAsEmail. For more information, see Using the Global Resource Settings feature.

Keep messages on server (IMAP)

Select to indicate that you want to keep messages received by the listener on the server, for IMAP protocol messages only.

Forward Unprocessed Emails

Select to forward any failed incoming email messages as an attachment to an administrator's email address. Scenarios that may cause an incoming message to fail include:

  • The incoming message size is larger than the value set in the Maximum Email Size (KB) field of the Email Listener data instance.
  • The incoming message cannot be decrypted.
Forwarding Email Address for Unprocessed Emails

If the previous field is selected, enter the email address to which failed incoming email messages are forwarded.

This field supports the Global Resource Settings syntax (=.PageName.PropertyName). For more information, see Using the Global Resource Settings feature.

Field

Description

Requestor UserID

SmartPromptOptional. If the service package requires authentication, select the PRPC Operator ID that the email service rule is to use when processing the email message. The Operator ID instance for this User ID determines RuleSets list, organization, security, workbaskets, and so on.

Password

Optional. Enter the password for the Operator ID.

Diagnostics

The optional Remote Logging feature streams the contents of the PRPC log file to the LogFactor5 application installed on your workstation. See How to install and use remote logging.

After you add your workstation as an active logger by selecting Logging and Tracing > Remote Logging from the menu in the System Management application, your workstation receives all messages for all processes running on the server. If you want to view only those log messages that are about the service rule this listener listens for, complete the fields in this section. Remember to start the LogFactor5 window on your workstation before updating this form to identify your workstation as a logger.

Field

Description

Remote Host

Optional. Enter the name of your workstation. See also How to install and use remote logging.

Port

Optional. Enter the TCP/IP port number on which the log4j package on your computer listens. By default, this port is 8887.

Startup status

Field

Description

Blocked

Select to disable the listener. When selected, the listener does not start when PRPC starts and you cannot start it from the System Management application. When cleared, the listener starts when PRPC starts and you can start it manually from the Listener Management page of the System Management application.

Up About email listener data instances