🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.andrew
Article #1739

Re: Automagically adding headers to outgoing mail?

#1739
From: Nathaniel Borenstein
Date: Mon, 06 May 1991 13:58
12 lines
1119 bytes
You can use the init file mechanism to set up a new menu that adds a
Reply-to header field before sending the mail.  Something like this
should do the trick:

addmenu sendmessage-compound-operation "Send W/Reply-To" sendmessage
sendmessage inherit "sendmessage-add-header Reply-to: nsb@bellcore.com;
sendmessage-send-message"

This belongs in your .messagesinit AND .sendmessageinit files, if you
ever run the program under both the names "messages" and "sendmessage". 
What I do is I have both of those init files include another file called
".amsinit" that has all the lines I want to use in both.
Technical Details
Message-ID: <Uc9K4720M2YtI2g6F4@thumper.bellcore.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!THUMPER.BELLCORE.COM!nsb
References: <1991May04.032724.11127@convex.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!THUMPER.BELLCORE.COM!nsb
From: nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Automagically adding headers to outgoing mail?
Message-ID: <Uc9K4720M2YtI2g6F4@thumper.bellcore.com>
Date: 6 May 91 13:58:31 GMT
References: <1991May04.032724.11127@convex.com>
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 12