[ < ] [ > ]   [ << ] [Plus haut] [ >> ]         [Top] [Table des matières] [Index] [ ? ]

8. Sending Mail

You can send a mail message in several ways. You can call M-x mh-smail directly, or from the command line like this:

 
$ emacs -f mh-smail

There are some commands that need to send a mail message, such as goto-address-at-point. You can configure Emacs to have these commands use MH-E by setting the option mail-user-agent to ‘Emacs interface to MH’.

From within MH-E's MH-Folder mode, other methods of sending mail are available as well. These can also be found in the ‘Message’ menu.

e

Edit a message to send it again (mh-edit-again).

E

Edit a message that was returned by the mail system (mh-extract-rejected-mail).

f

Forward message (mh-forward).

r

Reply to a message (mh-reply).

s

Compose a message (mh-send).

M-d

Redistribute a message (mh-redistribute).

M-x mh-smail

Compose a message with the MH mail system.

M-x mh-smail-other-window

Compose a message with the MH mail system in other window.

In addition, several options from the ‘mh-sending-mail’ customization group are useful when sending mail or replying to mail. They are summarized in the following table.

mh-compose-forward-as-mime-flag

On means that messages are forwarded as attachments (default: ‘on’).

mh-compose-letter-function

Hook run when starting a new draft (default: nil).

mh-compose-prompt-flag

On means prompt for header fields when composing a new draft (default: ‘off’).

mh-forward-subject-format

Format string for forwarded message subject (default: "%s: %s").

mh-insert-x-mailer-flag

On means append an ‘X-Mailer:’ header field to the header (default: ‘on’).

mh-redist-full-contents-flag

On means the dist command needs entire letter for redistribution (default: ‘off’).

mh-reply-default-reply-to

Sets the person or persons to whom a reply will be sent (default: ‘Prompt’).

mh-reply-show-message-flag

On means the MH-Show buffer is displayed using r (mh-reply) (default: ‘on’).

The following hooks are available.

mh-forward-hook

Hook run by mh-forward on a forwarded letter (default: nil).

mh-letter-mode-hook

Hook run by mh-letter-mode on a new letter (default: nil).

The functions and options introduced here are explained in more detail in the following sections.


[ < ] [ > ]   [ << ] [Plus haut] [ >> ]         [Top] [Table des matières] [Index] [ ? ]

Ce document a été généré par Eric Reinbold le 27 Octobre 2007 en utilisant texi2html 1.78.