Mailhandler should explicitly check that php's IMAP extension is enabled using a simple function_exists() call upon installation, and then should provide a helpful error message. In fact, php.net's function_exists() page uses an imap_open check in its example as luck would have it. This feature request was based on a support ticket in the forums.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | mailhandler_imapcheck.patch | 419 bytes | ChrisKennedy |
Comments
Comment #1
ChrisKennedy commentedHere's my patch for this. I don't have access to a box where I could disable the IMAP extension unfortunately, so it's a theoretical fix right now.
Minor side note: mailhandler.install has a typo in CVS in the pgsql section: "case: 'pgsql':" rather than "case 'pgsql':" (line 34). I'm not sure if I should make a separate bug report since it's a one-character change.
Comment #2
moshe weitzman commentedapplied to head and 4.7
i think this should be done in the module itself so it is more prominent. but i'll take this for now.
Comment #3
(not verified) commented