email.Utils.parseaddr('Real Name ((comment)) <[EMAIL PROTECTED]>') returns
('comment <[EMAIL PROTECTED]>', 'Real') Granted the string above is invalid as RFC 2822 does not allow parentheses within comments, but most mail agents seem to at least take the contents of the angle brackets as the address. rfc822.parseaddr() returns the same result in this case. If these functions aren't going to return their respective failure indication in this case, I think they should at least return '[EMAIL PROTECTED]' as the second item of the returned tuple. -- (for email use this address please - you can figure it out) Mark Sapiro msapiro -at- value net Any clod can have the facts; San Francisco Bay Area, California having opinions is an art. - C. McCabe, The Fearless Spectator -- http://mail.python.org/mailman/listinfo/python-list