Can anyone point me to (or share) some email address parsing routines?
I am permitting users to email from within an application, and would like to
*somewhat* validate the address which they present.
i hope either comp.mail.headers or comp.unix.programmer is the correct
newsgroup for my question. if there is a better one i didn't find please let me
i'm searching for a C function library which can be used to parse email
addresses in To: headers as specified in RFC 822. it should be able to extract
email addresses from a supplied To header and remove all the unecessary data
(like the sender's name) so the email address can be easily processed/logged.
as an example:
these are all valid email addresses due to RFC 822 which would deliver email
seems rather hard - especially in the 4th and 5th case, or in case there are
more then one reciepients in the To field.
if someone knows of a free (GPL'ed) piece of C code which can do this i'd
appreciate the url where it can be downloaded. it would definitelly save me a
few hours of work :)