\documentclass{article}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{hyperref}
\pagestyle{headings}
\begin{document}
\part{Linking directly to an email message in IMP}
You can link directly to an email message in IMP if you know the messages IMAP UID (available using <a href="http://php.net/imap-uid">http://php.net/imap-uid</a> or by passing FT\_UID to many functions if you are using PHP's imap extension) and the folder it is in. The url syntax is:

<pre><code>
https://servername/horde/imp/message.php?mailbox=MAILBOX\&index=UID
</code></pre>
So to link to a message in a user's INBOX with UID 3 you would use:

<pre><code>
https://servername/horde/imp/message.php?mailbox=INBOX\&index=3
</code></pre>
The folder name has to be encoded in the UTF7-IMAP character set.

\end{document}
