Email Listener form
|
|
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.
Field |
Description |
Listener Nodes |
|
Startup Option |
Select to control how listeners start:
|
Node ID |
Appears when the
Operating a listener on multiple nodes can increase throughput. |
Host Name |
Appears when the |
Node Count |
Appears when the |
Reset Startup |
Deletes all the instances from the class Log-Connect-AssignedNodes, so that listeners can be started. |
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. |
Field |
Description |
Folder Name |
Enter the name of the email folder that the listener is to monitor, typically |
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 |
Select |
Service Package |
For 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 |
For 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) |
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 |
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:
|
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. |
Requestor Login
Field |
Description |
Requestor UserID |
Optional. 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. |
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. |
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. |