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 ()->getName().getConvertedText(ch) - << " (email: " << hdr->From()->getValue().getEmail() << ")" + << " (email: " << hdr->From()->getValue().dynamicCast()->getEmail() << ")" << std::endl; \end{lstlisting}