Displaying 1 result from an estimated 1 matches for "index_search_get_mail".
2016 Dec 27
1
Identify if a message_part is an attachment ?
...>cur_mail is NULL.
search mailbox
|_ mailbox_search_next(state->search_ctx, &state->cur_mail)
|_ mailbox_search_next_nonblock (via vfunc)
|_ index_storage_search_next_nonblock
|_ search_more_with_prefetching(ctx, mail_r)
|_
mail = index_search_get_mail(ctx)
|_ allocates mail (vfunc mail_alloc) and calls hook.
|_ also allocates index_mails
ret = search_more_with_mail(ctx, mail);
|_ call handler (*h) => fetch_body_msgpart
|_ imap_msgpart_open
|_ imap_msgpart_find_part(mail, msgpart,...