Archived Forum Post

Index of archived forum posts

Question:

Limit size when fetching an email via IMAP

Sep 10 '14 at 22:46

I have an email with a very long text in my inbox and would like to limit the download when fetching this email via CkoImap. Is this possible when using a mass-fetch operation of a bundle?


Answer

If you can use POP3 instead of IMAP, the MailMan component has methods (GetAllHeaders, GetHeaders) that allow you to truncate the number of body lines returned. I don't think the same is available in IMAP.