Support Article

Require email listener and account details from service activity

SA-38498

Summary



User wants to retrieve the below information from the mail service activity:
  • Email listener information
  • The email account information the email listener is monitoring, like email address that is associated with the email account.

Error Messages



listenerName page NULL


Steps to Reproduce



User has tried the below code which works fine for file listener but not for email listener:

String listenerName = "UNKNOWN";
ClipboardPage cpListener = tools.findPage("pyListenerPage");

if (cpListener != null) {
listenerName = cpListener.getString(".pyListenerName");
oLog.error("listenerName page dump is" + cpListener.getXML() );
}


Root Cause



User is not able to fetch listener name and email account details from service activity.

User is trying to read the details by accessing the "pyListenerPage" which is not available.

Resolution



Apply HFix-34622.

Published May 24, 2017 - Updated June 8, 2017


100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.