6.0.0-RC1
5/24/26
  • Error
    Error retrieving attachments: Referrer "" does not exist.
  • Error
    Referrer "" does not exist.
  • Warning
    Page "Doc/Dev/H6/Developer" does not exist.

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:

$imap = $GLOBALS['registry']->mail->imapOb();