MIME provides basic composition commands that allow you to create a
text file in MIME compliant format: NEW, OPEN/DRAFT, ADD, EDIT.
Use the NEW command, which runs the editor specified in the VMSMAIL
user profile, or specify the editor to use to create a text message.
You are prompted for a filename if one is not specified.
MIME> NEW [/edit="edit/teco"] [filename]
Or you can use the OPEN/DRAFT command to continue editing a previous
MIME message that was composed and saved.
MIME> OPEN/DRAFT [filename]
Then use the ADD and REMOVE commands to add attachments (or parts)
to the message or to remove them. Attachments are such as binary
image files, sound files, and compound documents, and also text.
MIME> ADD filename /CONTENT_TYPE="image/gif" /ENCODING=base64
MIME> REMOVE n
Where "n" is the attachment number. Use the LIST command to list
attachments and their characteristics.
Use the EDIT command to edit the text attachment.
MIME> EDIT n [/EDIT="edit/tpu"]
Where "n" is the attachment number. Use the LIST command to list
attachments and their characteristics. The editor can be specified
with the /EDIT qualifier or /NOEDIT to avoid the edit session.
Lastly, execute the SAVE command to write the composed outgoing
MIME text file.
MIME> SAVE
Note that the MIME command SHOW FILE_TYPES lists the file types
and their default settings for the ADD command. Other optional
file types: the file extension, its Content-Type/subtype, and the
encoding to use, are defined in MIME$FILETYPES.DAT file.
For more help, see the ADD command and SHOW FILE_TYPES
MIME$FILETYPES.DAT command.