Path: utzoo!utgpu!watserv1!watmath!att!linac!uwm.edu!wuarchive!usc!elroy.jpl.nasa.gov!ncar!gatech!mcnc!duke!khera From: khera@thneed.cs.duke.edu (Vick Khera) Newsgroups: comp.mail.mh Subject: Re: Including human names in outbound mail Message-ID: Date: 29 Nov 90 14:08:20 GMT References: <1990Nov29.034915.1986@ultra.com> Sender: news@duke.cs.duke.edu Organization: Duke University CS Dept., Durham, NC Lines: 39 Nntp-Posting-Host: thneed.cs.duke.edu In-reply-to: marty@ultra.com's message of 29 Nov 90 03:49:15 GMT In article <1990Nov29.034915.1986@ultra.com> marty@ultra.com (Marty Lyons) writes: Is there any way in mh to define aliases, such that I can include a person's real name? For example, I want to have mail going out with the following RFC822 style headers: From: Marty Lyons To: Joe Smith . . cc: Another User yes, this is possible. here is how the above would be listed in an alias file: joe: Joe Smith user: Another User which will substitute the entire alias, including the name, into the message. to get the alias functionality, create a file in your mh mail directory (mine is ~/.Mail/mhaliases) and add a line similar to the following in your .mh_profile: (assumes mh 6.7) AliasFile: mhaliases then when you send mail ``To: joe'' or ``cc: user'', it will substitute the alias when it gets sent. if the name contains funny characters like a period or apostrophe, it is safest to put the name in double quotes or parentheses: phil: "Mr. Phil" v. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vick Khera, Gradual Student/Systems Guy Department of Computer Science ARPA: khera@cs.duke.edu Duke University UUCP: ...!mcnc!duke!khera Durham, NC 27706 (919) 660-6528