Re: Basic questions from newbie
- To: mutt-users@xxxxxxxx
- Subject: Re: Basic questions from newbie
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Fri, 5 Sep 2008 09:54:09 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=GCVqRkoda5UHTLQqTWr/MurGj7g=; b=V3wM ukj2ASNHsie9pgzLr/L6T2/dDyxhHVYUDqoudBlOYgIRzGuelnc3I2kTiwQaKAQZ GbOg4aYXD0KZE5V6DbPjtLPtAsIK/okM8Vh0FUqy7KHDhFfbOQOK5mP1WRWD3jes 9mFBS6YeIih4iEvlGOQ5htox1phqVkWQwwYJRpI=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=hmrCbH84WVpOwG7J50gJbCk+R88mffUbWAGP3kzC2TlLmiZ3QnC+CVIqeTyJT2aEhzG8DQtZUaQaxmdzyeRL9Mjn+uO8z2vpbxzUwtdvVLOu4Rnl65DfCmmgknZTFWb8FNbbGUMAl+6B4G2Ge7YZC11IhyKdf5cB7wtWcJ2wCKY=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <BLU103-W550F5B97024B040CD9C643E5580@xxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <BLU103-W550F5B97024B040CD9C643E5580@xxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-08-31)
-----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-----