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

8.3 Forwarding Mail

To forward a message, use the f (mh-forward) command. You are prompted for the ‘To:’ and ‘cc:’ recipients. You are given a draft to edit that looks like it would if you had run the MH command forw(34). You can then add some text (voir la section Editing a Draft). You can forward several messages by using a range (voir la section Ranges). All of the messages in the range are inserted into your draft. The hook mh-forward-hook is called on the draft.

By default, the option mh-compose-forward-as-mime-flag is on which means that the forwarded messages are included as attachments. If you would prefer to forward your messages verbatim (as text, inline), then turn off this option. Forwarding messages verbatim works well for short, textual messages, but your recipient won't be able to view any non-textual attachments that were in the forwarded message. Be aware that if you have ‘forw: -mime’ in your MH profile, then forwarded messages will always be included as attachments regardless of the settings of mh-compose-forward-as-mime-flag.

The format of the ‘Subject:’ header field for forwarded messages is controlled by the option mh-forward-subject-format. This option is a string which includes two escapes (‘%s’). The first ‘%s’ is replaced with the sender of the original message, and the second one is replaced with the original ‘Subject:’. The default value of "%s: %s" takes a message with the header:

 
To: Bill Wohler <wohler@stop.mail-abuse.org>
Subject: Re: 49er football
From: Greg DesBrisay <gd@stop.mail-abuse.org>

and creates a subject header field of:

 
Subject: Greg DesBrisay: Re: 49er football

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