6.0.0-git
2024-04-18

Diff for Doc/Dev/Imap_Client/IMPAPI between and 1

+ Obtaining Horde/Imap_Client object if IMP's API is available

Assuming you have a fully configured IMP (e.g. a Horde Webmail Edition installation), there is no need to separately configure an IMAP client object.  Instead, IMP's configuration can be used:

<code type="php">
$imap = $GLOBALS['registry']->mail->imapOb();
</code>