Question
Eclatprime Digital Private Limited
SG
Last activity: 5 Jul 2019 6:46 EDT
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