Commit 27c3df48 by nilu

S45723751 # Matchd / Talentology - No Plan [Enhancement] #Ingest not working - URGENT

parent e687f678
......@@ -85,7 +85,7 @@ public class PerformaEmailFetcher implements Runnable, InitialisationParticipant
for (Folder folder : folders)
{
if ((folder.getType() & Folder.HOLDS_MESSAGES) != 0)
if ((folder.getType() & Folder.HOLDS_MESSAGES) != 0 && folder.getFullName().equalsIgnoreCase("INBOX"))
{
LogMgr.log(LOG, LogLevel.PROCESSING1, "Processing folder " + folder.getFullName());
visitedNodes.add(folder.getFullName());
......@@ -290,7 +290,6 @@ public class PerformaEmailFetcher implements Runnable, InitialisationParticipant
LogMgr.log(LOG, LogLevel.PROCESSING2 , "Mail Subject:" + tmpSubject, " Address:", tmpFromAdress, " MessageId:", tmpMessageID);
LogMgr.log(LOG, LogLevel.PROCESSING2 , "Mail Details: Received ", message.getReceivedDate(), " Sent:", message.getSentDate());
if(message.getAllRecipients() != null && message.getAllRecipients().length > 0)
{
for(Address receipientAddress : message.getAllRecipients())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment