<<< Date Index >>>     <<< Thread Index >>>

Re: Basic questions from newbie



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday, September  5 at 02:42 PM, quoth Charles Howard:
> How do I export emails to text files in the current or another dir ? 
> I mean the message headers and body as plain text, not attachments.
>
> `Export' is pine terminology for this. Is there a different word in mutt?

I don't know that there's an explicit word for doing this, but the way 
I would do it is via <pipe-message> (usually bound to the | key). With 
that binding, here's what I'd type:

     |cat > foo.txt

Exactly what ends up in foo.txt depends on the $pipe_decode setting.

Another way to do it is to set $mbox_type to "mbox" and then save (or 
copy) the message to foo.txt (when mutt asks, tell it that yes you 
want to create the mailbox). Granted, it'll technically be in mbox 
format, but for a single message, that's essentially exactly what you 
want.

Another way to do it is to use the message editor (usually bound to 
the e key). Once the message is loaded up in your favorite text 
editor, you can save it wherever you like.

I guarantee there are several other ways to do it. But there's no 
direct "save this message as a txt file" command, if that's what 
you're after; though you can create one with a macro if you need it.

Does that answer your question?

~Kyle
- -- 
To sin by silence when they should protest makes cowards of men.
                                                     -- Abraham Lincoln
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkjBSBEACgkQBkIOoMqOI17mXACgoVhdFZ2gCZTY3OSWrN6suzBT
DJ8AnjgRpG3+jBi7A7VjYjbfWxmgQ/9+
=9rAE
-----END PGP SIGNATURE-----