Question

2
Replies
115
Views
Close popover
Siva Balaji Gopalan (SivaBalajiG)
Standard Chartered Bank

Standard Chartered Bank
MY
SivaBalajiG Member since 2013 2 posts
Standard Chartered Bank
Posted: January 15, 2019
Last activity: July 5, 2019
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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.