In the example, make sure all the imports are done.
diff --git a/Doc/lib/libsmtplib.tex b/Doc/lib/libsmtplib.tex
index 699eb10..21cadce 100644
--- a/Doc/lib/libsmtplib.tex
+++ b/Doc/lib/libsmtplib.tex
@@ -131,13 +131,12 @@
consult the module code.
-\subsection{SMTP Example}
-\label{SMTP-example}
+\subsection{SMTP Example \label{SMTP-example}}
% really need a little description here...
\begin{verbatim}
-import sys, rfc822
+import rfc822, string, sys
def prompt(prompt):
sys.stdout.write(prompt + ": ")