\documentclass{article}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{hyperref}
\pagestyle{headings}
\begin{document}
\part{Moving sent-mail folders out of special folders area}
\textit{Known to work with Horde 4/IMP 5}

If you have a lot of identities with different sent mailboxes, IMP's left panel might not be as convenient as it's been designed for.

This quick hack will move sent folders into the tree in the lower part of the panel.

Search for this method in your horde/imp/lib/Mailbox.php

<pre><code class="language-php">
    /**
     */
    public function \_\_get(\$key)
    \{
        global \$injector;
</code></pre>
Inside that method, search for this snippet of code :

<pre><code class="language-php">
        case 'special':
            \$special = \$this->getSpecialMailboxes();

            switch (\$this->\_mbox) \{
            case \$special[self::SPECIAL\_COMPOSETEMPLATES]:
            case \$special[self::SPECIAL\_DRAFTS]:
            case \$special[self::SPECIAL\_SPAM]:
            case \$special[self::SPECIAL\_TRASH]:
                return true;
            \}

            return in\_array(\$this->\_mbox, array\_merge(
                \$special[self::SPECIAL\_SENT],
                \$special[self::SPECIAL\_USERHOOK]
            ));
</code></pre>
Simply comment the line about SPECIAL\_SENT like this :

<pre><code class="language-php">
        case 'special':
            \$special = \$this->getSpecialMailboxes();

            switch (\$this->\_mbox) \{
            case \$special[self::SPECIAL\_COMPOSETEMPLATES]:
            case \$special[self::SPECIAL\_DRAFTS]:
            case \$special[self::SPECIAL\_SPAM]:
            case \$special[self::SPECIAL\_TRASH]:
                return true;
            \}

            return in\_array(\$this->\_mbox, array\_merge(
//              \$special[self::SPECIAL\_SENT],
                \$special[self::SPECIAL\_USERHOOK]
            ));
</code></pre>
And voilà !

\end{document}
