Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickert From: rickert@mp.cs.niu.edu (Neil Rickert) Newsgroups: comp.mail.sendmail Subject: Re: Getting a Return-receipt: line within mail headers Message-ID: <1991Feb20.005232.13673@mp.cs.niu.edu> Date: 20 Feb 91 00:52:32 GMT References: <4902@gdc.portal.com> Organization: Northern Illinois University Lines: 31 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.