[comp.mail.mh] using repl for followups

jromine@buckaroo.ics.uci.edu (John Romine) (03/01/91)

"Andrew Macpherson" <andrew@stl.stc.co.uk> writes:
>I want to `reply' ie followup to messages I have sent, as I can do in other
>mail user agents.  It may be that I have the wrong end of the stick, but the
>behavior I require is:
>	if ( mail from me )
>		Set TO: to {to}
>	else
>		Set TO: as per the standard replcomps.

I think you want something like:


    %<(mymbox{from})To: %{to}
    %|To: %{from}
    %<{to}Cc: %{to}\n%>%>\
    %<{cc}Cc: %{cc}\n%>\

And, of course, you'll need to use "-cc all", or at least "-cc to".
Also, you should consider what happens in degenerate cases, such as
when there's no "To:" header.

You can use "formataddr" and "putaddr" if you want; formataddr does
the querying for "repl -query", so if you omit it, you'll never get
queried.
--
John Romine