elm(1)

elm(1)

fFile name. The name of the ®le to be attached. elm examines the ®le and sets the values of Content-Transfer-Encoding, Content-Disposition, and Content-Type accordingly.

pContent-Disposition. The value is placed in a Content-Disposition:body-part header entry. The default is attachment; filename=®lename.

tContent-Type. The type of the ®le and supporting parameters, in the form:

type/subtype [; parameter]...

The type can be one of application , audio, image, message, text, or video, as de®ned in RFC 1521. Although multipart is also a valid type, you cannot specify it directly; elm provides it as necessary and handles messages that contain it. The value is placed in a Content-Type:body-part header entry. The default is:

text/plain; charset=US-ASCII

Some common entries are described below. See the METAMAIL CONFIGURATION section for additional information.

text/subtype [; charset=charset]

This is relatively readable text that may be formatted with embedded text characters, as for possible subtypes richtext or html. The default subtype is plain (unformatted in any way). The default charset is US-ASCII.

application/octet-stream

This is a catch-all for ®les such as program binary, or ®les that contain control characters or characters with high-order bits set.

application/postscript

The ®le can be displayed with a PostScript-equipped printer or viewer.

message/rfc822

This speci®es that the ®le is in message format, as described in the Terminology subsection.

image/jpeg, image/gif

These are picture formats that require a display program.

audio/basic

This is an audio format that requires a reproduction program.

video/mpeg

This is an audio/video format that requires a reproduction program.

Attachment Send Menu

The Attachment Send Menu is invoked with the Send Menu a command. This menu displays a list of the attachments that will be sent in a message, one per line, as described in the Attachment Index subsection.

The commands are:

aAdd attachments. Call the Attachment Con®guration Menu and prompt for a ®le name.

dDelete an attachment.

eEdit an attachment. Call the editor associated with the attachment if it is editable.

jMove the current attachment pointer down to the next attachment.

kMove the current attachment pointer up to the previous attachment.

Ctrl-L

Redraw the screen.

mModify the attributes of an attachment. Call the Attachment Con®guration Menu.

pPrint an attachment. See the Message Menu p (print) command.

qQuit. Return to the Send Menu.

sSave an attachment. See the Message Menu C (copy) command.

HP-UX Release 11i: December 2000

− 14 −

Section 1217

e