aboutsummaryrefslogtreecommitdiffstats
path: root/examples/example2.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-01-28 17:50:53 +0000
committerVincent Richard <[email protected]>2005-01-28 17:50:53 +0000
commit4ae97ddb0957c626a01682e24c68710e608bcc43 (patch)
treeb81b4898dbfae5a81a6ca6820c7530bc39acf3e9 /examples/example2.cpp
parentFixed bug with signed/unsigned char. (diff)
downloadvmime-4ae97ddb0957c626a01682e24c68710e608bcc43.tar.gz
vmime-4ae97ddb0957c626a01682e24c68710e608bcc43.zip
Splitted 'contentHandler' into three classes: 'emptyContentHandler', 'stringContentHandler' and 'streamContentHandler'.
Diffstat (limited to 'examples/example2.cpp')
-rw-r--r--examples/example2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example2.cpp b/examples/example2.cpp
index ae6a657e..2b309fc4 100644
--- a/examples/example2.cpp
+++ b/examples/example2.cpp
@@ -60,7 +60,7 @@ int main()
mb.setSubject(vmime::text("My first message generated with vmime::messageBuilder"));
// Message body
- mb.getTextPart()->setText(vmime::contentHandler(
+ mb.getTextPart()->setText(vmime::stringContentHandler(
"I'm writing this short text to test message construction " \
"with attachment, using the vmime::messageBuilder component."));