Date: Tue, 29 Feb 2000 20:04:51 +0000
From: Bruno Postle <bruno@postle.net>
To: mutt-users@mutt.org
Subject: rfc 2368 style mailto: links in urlview

I was briefly inspired by the O'Reily book 'Practical Internet
Groupware' and a mail oriented project I'm working on, to write this
script. It handles rfc 2368 mailto: links in urlview and passes them on
to the mutt command line.

This sort of stuff:

    <mailto:bruno@postle.net?subject=What%20a%20dumb%20RFC>
or 
    <mailto:bruno@postle.net?cc=@postle.net&subject=Hi%20There!>

Gets rewritten (most of the time) to:

    mutt  'bruno@postle.net' -s 'What a dumb RFC'
and
    mutt  'bruno@postle.net' -s 'Hi There!'

There's a fairly remote possibility that someone else might find this
useful and want to add it to their web of mutt helpers, so I'm posting 
it here.. 

It doesn't do extra headers like 'In-Reply-To:' or body text. This
wouldn't have been too hard to add.

Change the line in url_handler.sh that calls mutt:

    mutt `echo $url | sed 's;^[^:]*:\(.*\);\1;'`
to
    mutt-rfc2368 $url

Bruno
-- 
mailto:bruno@postle.net
http://bruno.postle.net