The documentation for the mime package contains little
or no information on the -parts option (it actually
refers to -part).
One thing I found out trying:
- if you combine several parts into one message, then
you need to use "-canonical multipart/mixed"
It is not clear to me from the documentation how to
set a proper name for an attachment (default seems
to be: Part 1.2)
Logged In: YES
user_id=75003
Marshall, any info you can give us here to add to the
documentation ?
Logged In: YES
user_id=202636
set part_a [mime::initialize -canonical text/plain -filename
body.txt]
set part_b [mime::initialize -canonical image/jpeg -filename
image.jpg \
-header [list Content-Disposition inline] \
-param [list filename image.jpg] -param [list name "Image
of thingy"]
set mime [mime::initialize -canonical multipart/mixed -parts
[list $part_a $part_b]]