emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending attachments


From: Andreas Schwab
Subject: Re: Sending attachments
Date: Sat, 04 Jul 2009 17:19:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (gnu/linux)

Richard Stallman <address@hidden> writes:

> According to the documentation in "(emacs-mime)Composing",
> one must put certain text in the buffer
> which then gets converted to Mime parts,
>
> Maybe that is convenient for some cases, but what I would like
> is a simpler command that just attaches a file.
>
> Has anyone written such a thing?

C-c RET f runs the command mml-attach-file, which is an interactive
compiled Lisp function in `mml.el'.

It is bound to <menu-bar> <Attachments> <Attach File...>, C-c RET f, C-c
C-a.

(mml-attach-file file &optional type description disposition)

Attach a file to the outgoing MIME message.
The file is not inserted or encoded until you send the message with
`C-c C-c' or `C-c C-s'.

file is the name of the file to attach.  type is its
content-type, a string of the form "type/subtype".  description
is a one-line description of the attachment.  The disposition
specifies how the attachment is intended to be displayed.  It can
be either "inline" (displayed automatically within the message
body) or "attachment" (separate from the body).

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]