parsing address header fields

Jesse Guardiani <[email protected]> Wed, 1 Jun 2005 13:34:01 +0000 (UTC)
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <[email protected]>
Hello,

I apologize if this is the wrong list for this question. I didn't see a users
list, and I was afraid the question might not be seen if I posted on the main
INRIA list. Please direct me to the appropriate list if this isn't it.

Anyway, I'm using ocamlnet to parse e-mail headers for use in a filter script.
It's working quite well! However, I couldn't figure out the best way to parse
email address headers. For any given header address field (i.e. CC, TO, FROM) I
need to return a List of formal addresses. I'm not concerned with the human
readable portion.

Is there functionality in ocamlnet to aid me in parsing address fields? Where
should I look? Or do I need to write my own?

Thanks!

--
Jesse Guardiani
Programmer, Sys Admin
[email protected]



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005