Menu

#403 Documentation error(s)

open
mime (58)
5
2003-12-17
2003-12-17
No

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)

Discussion

  • Andreas Kupries

    Andreas Kupries - 2004-05-17

    Logged In: YES
    user_id=75003

    Marshall, any info you can give us here to add to the
    documentation ?

     
  • Pat Thoyts

    Pat Thoyts - 2006-11-06

    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]]