6.0.0-alpha14
6/24/25
Last Modified 6/18/13 by Michael Slusarz
  • Backlinks
  • Similar Pages
  • Attachments
  • History
  • Back to

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:

<?php

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