|
**Lukas, one observation: I am fetching emails from yahoo account and when i debug this scode line:
then I found that even though my imapSearchParameter is matching with more no. of emails (I verified it manually), above code line returns only 160 no. of emails. Is there any restriction that yahoo account returns only 160 emails? Please suggest. My imapSearchParameter is for subjects. The value set is " |
|
It seems the Yahoo! limits the number of returned IDs to 160 in any text search (SUBJECT, FROM, TO, ...) indeed. I have sent a question to Yahoo! support. I will inform you about their reply here. It seems that SUBJECT based search is going to give inconsistent results with different mail accounts. I think its better to apply SUBJECT based search criteria manually. Your thoughts.
(22 Aug '11, 15:35)
SanjayN
If you can afford to download all mails without applying the SUBJECT criteria it is probably the best solution. But unfortunately this is not possible in all cases.
(22 Aug '11, 16:29)
Lukas Matyska ♦♦
Any updates from yahoo?
(24 Aug '11, 08:47)
SanjayN
No, we received a mail with information that the question was routed to Technical support, but still no response.
(24 Aug '11, 11:00)
Lukas Matyska ♦♦
ok thanks .
(24 Aug '11, 11:25)
SanjayN
|
Any updateS?
Please note what RFC says about the
SUBJECTsearch:In your case, removing condition "Shipping" and "Receipts" can lead to better performance.
But be careful. I tried following search with Gmail, Yahoo! and MS Exchange: I have a mail with subject "Testing mail".
If I was searching "Testing" all servers found the mail.
If I was searching "Test" Gmail didn't find the mail.
If I was searching "sting" only MS Exchange found the mail.