4 ms·
How did you make javamail fast? My impression was that you could batch request meta data info, but not the actual body. Gmail's been way faster for me
by sportanova 12y ago
How did you make javamail fast? My impression was that you could batch request meta data info, but not the actual body.
Gmail's been way faster for me
- saryant 12y agoWe don't request message bodies, just headers.
- sportanova 12y agogotcha - thanks!
- esquid2 12y agoWhen you do your tests are you using the new-ish message.get(format=METADATA)?
- saryant 12y agoNo, I wasn't aware of that option. In our tests we did list requests for 100 messages and then bulk requests for each messages' headers (messages.get("me", message.getId).setFields("historyId,payload/headers")). I'll look into that option and re-run the tests.