aboutsummaryrefslogtreecommitdiffstats
path: root/doc/book/msg.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/book/msg.tex')
-rw-r--r--doc/book/msg.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/book/msg.tex b/doc/book/msg.tex
index 5ebfe93b..384aab74 100644
--- a/doc/book/msg.tex
+++ b/doc/book/msg.tex
@@ -51,7 +51,7 @@ std::cout
<< std::endl
<< "It was sent by: "
<< hdr->From()->getValue().dynamicCast <vmime::mailbox>()->getName().getConvertedText(ch)
- << " (email: " << hdr->From()->getValue().getEmail() << ")"
+ << " (email: " << hdr->From()->getValue().dynamicCast<vmime::mailbox>()->getEmail() << ")"
<< std::endl;
\end{lstlisting}