cancel
Showing results for 
Search instead for 
Did you mean: 

IMail.FetchLimit parameter for IMAP4 transport protocol

0 Kudos

Hello,

I am trying to limit the number of unread emails to be fetched by the IMAP server for every polling interval.

For this requirement, I have tried adding additional parameter IMail.FetchLimit =1 and also added the FetchLimit parameter value 1 under module configurations for XIMailAdapterBean.

However, the sender mail channel always picks all of the unread email instead of picking 1 at a time.

Please advise.

I have gone through following links but didn't find solution to the problem.

SAP Note: 1415310  - Limit on number of fetched mails

Configuring the Sender Mail Adapter - Configuring the Mail Adapter in the Integration Directory/PCK ...

http://scn.sap.com/thread/2148550

http://scn.sap.com/thread/3388741

http://scn.sap.com/thread/3528991

Please advise.

Thank you!

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

I just read that to configure the IMail.FetchLimit parameter one of the parameters (idmap.useAugmentedMessageId or idmap.useNonAugmentedMessageId) has to be set to true.

Even after setting idmap.useNonAugmentedMessageId=true and IMail.FetchLimit=1. The sender channel is still picking all the unread emails from the inbox.

azharshaikh
Active Contributor
0 Kudos

Hi Simran,

With IMail.FetchLimit it should be able to poll / pick the correct number of emails as configured in the Advanced Mode - Additional Parameter.


What is the polling interval that you have defined in the CC?


Can you check if the Cache status is Up-to-date (in Cache Monitoring).


If nothing helps then you might need to raise this to SAP.


Regards,

Azhar

0 Kudos

Hello Azhar,

The polling interval is set to 15 minutes.

I checked the cache status and still the email channel is picking up all the unread emails.

Regards,

Simran