On 16.06.11,21:41, Ravi Pina wrote:
> The subject generally says it. I was trying to find a macro or
> shortcut that would allow me to compose a new message to the
> addresses in the To: line of the currently selected message.
>
> Bouncing doesn't do this, obviously. Using the message as a
> template isn't it. Replying adds all the message attributes of a
> replied message (references, subject, etc), yet this is the
> closest thing.
>
> Anyone have any tips for accomplishing this?
>
This macro will achieve the task in two steps:
macro index _w "<pipe-message>formail -x 'To' $* | perl -MEncode -ne \
'print encode("UTF8",decode("MIME-Header",$_))' | paste -s -d" " | \
xclip -sel clip<enter><mail>"
Catch all to address with "_w" and add it in new mail with
"Ctrl-Shift-v".
Jostein