\documentclass{article}
\usepackage{ulem}
\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 http://php.net/imap-uid\footnote{http://php.net/imap-uid} 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:

\begin{verbatim}

https://servername/horde/imp/message.php?mailbox=MAILBOX&index=UID
\end{verbatim}

So to link to a message in a user's INBOX with UID 3 you would use:

\begin{verbatim}

https://servername/horde/imp/message.php?mailbox=INBOX&index=3
\end{verbatim}

The folder name has to be encoded in the UTF7-IMAP character set.

\end{document}
