Mutt: save message as a text file

I would like to save the message in Mutt as a text file somewhere outside my maildir. Eg ~/documents/notes

. I found instructions for Saving Messages to Files , which says that I have to click either C

or esc-C

(depending on whether I want headers or not) and then enter the directory where I want to save. When I do this and type ~/documents/notes

, Mutt says "/ home / user / documents / notes is not a mailbox."

I want to save a message to a regular directory and not to a mailbox. How can i do this?

+3


source to share


1 answer


Use C

( copy-message

) or <Esc>C

( decode-copy

) if you want to save mail as a mail message, be sure to in the mailbox. This mailbox can only contain one message, but it will not be a file text/plain

. If the mailbox (file or directory) does not already exist, you should not receive an error message: Mutt will prompt you to create a mailbox.

If you want to keep the body text, then:



  • Enter v

    ( view-attachments

    ).
  • Select the body text/plain

    (this is often the part that is selected by default, so most of the time you don't have to do anything special).
  • Enter s

    ( save-entry

    ) to save the body to a file.
+4


source







All Articles