Fixed error in sample code.

This commit is contained in:
Vincent Richard 2012-05-10 21:36:26 +02:00
parent f050da2901
commit e44d049f57

View File

@ -51,7 +51,7 @@ std::cout
<< std::endl << std::endl
<< "It was sent by: " << "It was sent by: "
<< hdr->From()->getValue().dynamicCast <vmime::mailbox>()->getName().getConvertedText(ch) << hdr->From()->getValue().dynamicCast <vmime::mailbox>()->getName().getConvertedText(ch)
<< " (email: " << hdr->From()->getValue().getEmail() << ")" << " (email: " << hdr->From()->getValue().dynamicCast<vmime::mailbox>()->getEmail() << ")"
<< std::endl; << std::endl;
\end{lstlisting} \end{lstlisting}