Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!UUNET.UU.NET!ziegast From: ziegast@UUNET.UU.NET (Eric Ziegast) Newsgroups: comp.mail.mh Subject: Re: Checking if recipient is on To: or Cc: list Message-ID: <9106010044.AA12050@rodan.UU.NET> Date: 1 Jun 91 00:44:40 GMT References: <9105311850.aa05432@CC2.PICA.ARMY.MIL> Sender: rwh@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 17 "Michael J. Chinni, SMCAR-CCS-W" writes: > 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. Let's not forget Apparently-to: There is probably a better way than having to check addresses. For a list program I used, I had the users put ID/password combinations on the Subject lines. Not only is it esier to deal with, it provides a rudimentary level of security. Anyone can fake a From. It's much harder to get a password. Just a thought. -- Eric W. Ziegast - jr uunet postmaster - ziegast@uunet.uu.net