Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!shelby!agate!dog.ee.lbl.gov!nosc!crash!jadpc!jdeitch From: jdeitch@jadpc.cts.com (Jim Deitch) Newsgroups: comp.mail.sendmail Subject: Re: Getting a Return-receipt: line within mail headers Message-ID: <1991Feb20.170703.10250@jadpc.cts.com> Date: 20 Feb 91 17:07:03 GMT References: <4902@gdc.portal.com> <1991Feb20.005232.13673@mp.cs.niu.edu> Organization: Network Engineering Technologies, San Diego, CA. Lines: 42 In article <1991Feb20.005232.13673@mp.cs.niu.edu> rickert@mp.cs.niu.edu (Neil Rickert) writes: >In article <4902@gdc.portal.com> lee@gdc.portal.com (Seng-Poh Lee, Gen DataComm, +1 203 758-1811) writes: >>Does anyone know how to include a "Return-receipt: " line in the header >>of a mail message? Xenix mail allows you to do this, but most mail systems >>on SYSV and BSD systems don't have this header. Is there any way to force >>this line within the headers, short of editing the D.* files in the spool >>directory? > > There is a common misconception that the builtin 'mail' command is the >only way of creating mail. It is possible to create a mail message with >an editor. Edit 'file' containing: > >------- >To: address >Subject: Subject line as needed >Return-Receipt-To: address > (empty line - not even a single blank or tab) > Message contents. >------------- > > You can put in various other headers as needed. > > Then type: > /usr/lib/sendmail -t < file > >and the mail will be sent off with the headers you have given, plus any >added by 'sendmail'. > > Other software, such as /bin/mail may also accept messages with prebuilt >headers. > > You don't have to go and edit the UUCP spool files. Or get a mail program that allows you to do such things. Elm comes to mind and so does Mush. Jim -- ARPANET: jadpc!jdeitch@nosc.mil INTERNET: jdeitch@jadpc.cts.com UUCP: nosc!jadpc!jdeitch