Tk Library Source Code

View Ticket
Login
Ticket UUID: 861622
Title: Documentation error(s)
Type: Bug Version: None
Submitter: arjenmarkus Created on: 2003-12-17 12:50:17
Subsystem: mime Assigned To: mrose
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2013-07-04 17:25:32
Resolution: Not Applicable Here Closed By:
    Closed on:
Description:
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)
User Comments: patthoyts added on 2006-11-07 05:22:15:
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]]

andreas_kupries added on 2004-05-18 03:50:11:
Logged In: YES 
user_id=75003

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