Question

2
Replies
83
Views
SivaBalajiG Member since 2013 2 posts
Standard Chartered Bank
Posted: 1 year ago
Last activity: 1 year 2 months ago
Closed

Read Emails from Sent Items Folder

Hi,

In Email Listener normally we Key in INBOX in the folder name field to read the mails received in the Inbox folder of a particular email account and then we process the mail by creating the case based on business logic.

But now I have a requirement stating, instead of reading mails from INBOX folder, I need to read mails from Sent Items folder. I have tried to give Sent Items in the Folder Name field, but I am getting below exception.

Caused by: javax.mail.FolderNotFoundException: folder is not INBOX
at com.sun.mail.pop3.POP3Folder.open(POP3Folder.java:203) ~[mail-1.5.5.jar:?]
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.openMailFolder(EmailListener.java:3769) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.setup(EmailListener.java:2265) ~[printegrint.jar:?]

Please let me know if anyone have tried this similar requirement.

Thanks.

Regards,

Siva

Case Management
Moderation Team has archived post
Share this page LinkedIn