On Thu, Sep 05, 2002 at 08:25:40PM -0700, David Ellement wrote: > On 020905, at 18:41:18, Gary Johnson wrote > > On Thu, Sep 05, 2002 at 05:57:24PM -0400, Michael Herman wrote: > > > Is there a way to forward e-mails in-line but any attachments are > > > attached to the forward? > > > > > > For example, If I receive an e-mail with a spreadsheet and I would > > > like to forward it, the text of the original e-mail would be in-line > > > with my e-mail but the spreadsheet would be an attachment. > > > > To forward messages that way, you need to go to the attachment menu > > ('v'), tag all the attachments ('t'), then forward them all using ';f'. > > It doesn't seem like this does quite what Michael asked, if I understand > him correctly. He seems to want the in-line part of the original > message included his forwarded message, with the attachments appearing > as attachments to his message.
That's what I understood him to mean, and what I thought my solution did. I've since done some more experimenting and I've discovered that this doesn't work in all cases; it just happened to work in all the cases I had previously tried. > Mutt only seems to allow all in-line or > all mime forwarding. This seems to depend on the Content-Type of the attachment and whether mutt is configured to decode that attachment type in-line when the message is viewed in the pager. For example, if I forward a message with a text/plain "body" and an image/gif attachment using the technique I described previously, the body appears in the body of the forwarding message and the image is attached as desired. However, if I forward a message with the same body but with an application/excel attachment, mutt includes both parts in the body of the forwarding message since my mailcap has a rule for converting Excel attachments to text and my muttrc includes "auto_view application/excel". The only way I could find to forward the Excel file as an attachment while forwarding the body in-line was to remove the "auto_view application/excel" from my muttrc. > With mime_forward set, if I tag the in-line part > of message along with attachments before forwarding, the in-line part > appears a another attachment, rather than within my message part; if I > don't tag the in-line part, it doesn't appear at all. That's what I observe as well. > Have I missed something? No, not unless I missed it, too. I just hadn't realized that my solution didn't work in general. I can't think of any workaround for this, either, short of restarting mutt with the auto_view commands commented out. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |