mail2rtf



Description

mail2rtf outputs a mail message in rtf format after some minimal markup.

Warning

mail2rtf is still (and is likely to remain) in an experimental / pre-release / alpha state. There might be serious bugs in the code. Use at your own risk!

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Download

Setup

Environment variables %TEMP% and %USERNAME% are consulted.

.muttrc
   set print = yes
   set print_command = "C:/apps/mutt/bin/mail2rtf.bat %s"
   
   macro index p "\
   <enter-command>set charset=iso-8859-1<enter>\
   <print-message>\
   <enter-command>set charset=ibm850<enter>" "print the current entry"
   
   macro pager p "\
   <enter-command>set charset=iso-8859-1<enter>\
   <print-message>\
   <enter-command>set charset=ibm850<enter>" "print the current entry"

mail2rtf.bat
   @echo off
   
   set USERNAME=Ulf Erikson
   set TEMP=C:/TEMP
   set FILE=%TEMP%/mail.rtf
   C:\apps\mutt\bin\mail2rtf.exe %1 %FILE%
   
   start %FILE%
   rem -- "C:\Program Files\Windows NT\Accessories\wordpad.exe" %FILE%

Known bugs

Todo


Created on June 2, 2002.
Last modified on June 7, 2002.
ulferikson+mail2rtf@fastmail.fm