I've included a new .api. file as a best practice for doing this. hook_mailhandler arguments are unclear at all. I think there must be additional backgroud.

Actually, the email manual retrieval operation and cron follow different paths, so there must be a problem with this hook. The 'ui' retrieve method is loosing some of the arguments, one of the is the $msg_number that is passed to this hook.

CommentFileSizeAuthor
mailhandler_document_hooks.patch3.75 KBilo

Comments

ilo’s picture

Issue tags: +#D7

Tagging to be included in the Drupal 7 release plan.

ilo’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -#D7

Automatically closed -- issue fixed for 2 weeks with no activity.