home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / mail / headers / 315 < prev    next >
Encoding:
Text File  |  1992-09-11  |  1.6 KB  |  42 lines

  1. Newsgroups: comp.mail.headers
  2. Path: sparky!uunet!eco.twg.com!twg.com!news
  3. From: "David Herron" <david@twg.com>
  4. Subject: Re: Public domain RFC822 header parsing code?
  5. Message-ID: <1992Sep11.165855.12826@twg.com>
  6. Sensitivity: Personal
  7. Encoding:  22 TEXT , 4 TEXT 
  8. Sender: news@twg.com (USENET News System)
  9. Conversion: Prohibited
  10. Organization: The Wollongong Group, Inc., Palo Alto, CA
  11. Conversion-With-Loss: Prohibited
  12. Date: Fri, 11 Sep 1992 17:01:18 GMT
  13. Lines: 27
  14.  
  15. > Can anybody point me to some freely available code, preferably in C,
  16. > for parsing RFC822 headers - specifically email addresses as would
  17. > appear in a To: header?  The completer the better.
  18.  
  19. Yes.
  20.  
  21. Look in any comp.sources.misc archives and you'll find one written
  22. in YACC.  (posted by me many many moons ago while I was still a
  23. junior level E-Mail hacker known to the world as `david@ms.uky.edu').
  24.  
  25. That version has BUGS ('twas before I learned that not all the
  26. world was a Vax ;-().
  27.  
  28. A later version is in the FACES distribution.  (It was a pleasant surprise
  29. pulling that code over and finding that YACC grammer in there...)  That
  30. version has most/all the necessary patching to get it working right.
  31. I don't recall where to get FACES at, but shouting at Archie would
  32. be a good start ;-).
  33.  
  34. There's also an RFC822 parser in the IMAP distribution available from
  35. ftp.cac.washington.edu.  Dunno how seperable it is, though.
  36.  
  37.  
  38. <- David Herron <david@twg.com> (work) <david@davids.mmdf.com> (home)
  39. <-
  40. <- "ISO is really just another politically correct one-world fantasy
  41. <-  of the U.N." -- Gordon McLachlan (LAN Computing, Aug 1992, p. 37)
  42.