Re: save body of text message to txt or pdf file
- To: Joseph <syscon780@xxxxxxxxx>
- Subject: Re: save body of text message to txt or pdf file
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Fri, 29 Aug 2008 14:35:44 -0500
- Cc: mutt-users@xxxxxxxx
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=default; bh=9O5BtVeuXLI0rGIi6dUh0qu E5gI=; b=Q4G6zZh2H84RWXmB4HIOkrBpFt0Kv8Fhn0ZwziELLHCno+1REek5ct7 1/zgrPTBDcVKz+NV8qW9Okf4ODzCdLZL9j8VGb+7tZcLZoDQK6yb5cOb0VJEphG5 b6Ay8SALlyflugQVNni+dc207OlTNRuPLInm4lZAHktBDjLe1s9k=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=iF1XqXqcRdEgirth3dbDAffJ9PviBADjDWM/US/rJi7o4aGFKq+1SzcB8MVrKKpSKmMJ6hcNPf1LNhAs/Wyn28hIBWIlMDhiZpemlIyW1z9EGLNXk2i8Z9We2iIxXgkBrKIreVHdDxV+PpmCPv3cceDToGT/9u5AMwRYp+Vf+nc=; h=Received:Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20080829184916.GA22733@xxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: Joseph <syscon780@xxxxxxxxx>, mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20080829184916.GA22733@xxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-08-26)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday, August 29 at 12:49 PM, quoth Joseph:
> How to save body of text message (without headers) to /home/dir in text or
> pdf format?
> By default "s" only saves in a specific folder.
Heh, AND "s" includes the full headers! :)
Well, the simplest way is this:
set pipe_decode=yes
... and then use | to pipe the message into a simple command, for
example:
cat - > ~/message.txt
You could also try hijacking the print feature, if you really want.
Either way, PDF creation would depend on using some tool to generate a
PDF or a postscript version that can then be converted into a PDF.
~Kyle
- --
Those who can make you believe absurdities can make you commit
atrocities.
-- Voltaire
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAki4T5AACgkQBkIOoMqOI14b7wCfVvSaqhgPKWIdjK21b6IRGUs1
CnoAoIkaA7bF9IlrEWa6MBZay9wg7JcO
=V9jl
-----END PGP SIGNATURE-----