\documentclass{article}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{hyperref}
\pagestyle{headings}
\begin{document}
\part{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:

<pre><code class="language-php">
\$imap = \$GLOBALS['registry']->mail->imapOb();
</code></pre>
\end{document}
