Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!PICA.ARMY.MIL!mchinni From: mchinni@PICA.ARMY.MIL ("Michael J. Chinni, SMCAR-CCS-W") Newsgroups: comp.mail.mh Subject: Re: Checking if recipient is on To: or Cc: list Message-ID: <9105311850.aa05432@CC2.PICA.ARMY.MIL> Date: 31 May 91 22:50:04 GMT Sender: rwh@ucbvax.BERKELEY.EDU Organization: CCAC W/A Lines: 16 Sean, Why not do something like the following: To recipientname pipe A yourprogram to Cc recipientname pipe A yourprogram cc Your program would then check the value of argv[1] to see if it was "to" or "cc" and act accordingly. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Michael J. Chinni US Army Armament Research, Development, and Engineering Center Picatinny Arsenal, New Jersey ARPA: mchinni@pica.army.mil UUCP: ...!uunet!pica.army.mil!mchinni /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/