Article View: comp.mail.headers
Article #685Re: How to set a "Reply-To: " filed in the mail header?
From: Barton E. Schaefer
Date: Tue, 20 Feb 1990 16:51
Date: Tue, 20 Feb 1990 16:51
34 lines
1644 bytes
1644 bytes
In article <51174@sgi.sgi.com> roberts@nimrod.wpd.sgi.com (Robert Stephens) writes:
} In article <2773@umbc3.UMBC.EDU>, rouben@math9.math.umbc.edu (Rouben Rostamian) writes:
} >
} > I use ucb mail in ULTRIX. I wonder if there is an option to add
} >
} > "Reply-To: a_preferred_return_address"
}
} Not that I know of. I just had to add such an option to our version of ucb
} Mail in IRIX. I don't think you can do it at all with standard ucb Mail.
You can't do it "right", but you can do it:
----------------------------------------
#! /bin/sh
# "mail" front-end for Reply-To: headers
echo -n "Subject: "
read subject
# Note imbedded return in the "" text
mail -s "$subject
Reply-To: a_preferred_return_address" $*
----------------------------------------
I won't go to the work of figuring out how to test for "set ask" before
prompting for the subject, nor how to parse a -s option to the script,
but it can be done.
You still ought to get Mush. ;-)
Just the other mush hacker,
--
Bart Schaefer "February. The hangnail on the big toe of the year."
-- Duffy
schaefer@cse.ogi.edu (used to be cse.ogc.edu)
Technical Details
Message-ID:
<7459@ogicse.ogc.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!ogicse!schaeferReferences:
<2773@umbc3.UMBC.EDU> <51174@sgi.sgi.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ogicse!schaefer From: schaefer@ogicse.ogc.edu (Barton E. Schaefer) Newsgroups: comp.mail.headers,comp.unix.questions Subject: Re: How to set a "Reply-To: " filed in the mail header? Message-ID: <7459@ogicse.ogc.edu> Date: 20 Feb 90 16:51:37 GMT References: <2773@umbc3.UMBC.EDU> <51174@sgi.sgi.com> Organization: Oregon Graduate Institute (formerly OGC), Beaverton, OR Lines: 34