2008-01-24 14:47:18 UTC
Hi there,
first of all i am quite impressed how gently vmime usage is.
I managed to get working all i need EXCEPT the possibility to
attach a file via path. I always receive the no_encoder_available
exception when i try to attach:
-pdfs
-jpgs-
-PLAIN text files
of course setting the mediatype respectivly to
-application/octet-stream
-image/jpeg
-text/plain
with the mentioned result above.
Btw. the mail to be generated will be/shall be composed of
a plain text part, a html text part, some embedded jpegs and
one attachment.
My sequence of operations is as follows:
-create Messagebuilder Instance
-set subject/expeditor/recipients
-constructTextPart
-embed object (jpeg in this case)
-setText
-setPlainText
-ATTACH
-messagbuilder.construct()
-send away (AND NOW EXCEPTION!)
I carefully looked over the example code on vmime home but i
fail to discover any mistakes i may have done in call sequence
or others.
So i humbly beg for help :)