note 38234 rejected from function.imap-rfc822-parse-adrlist by nlopess

From: Date: Sat, 13 Dec 2003 08:16:12 +0000
Subject: note 38234 rejected from function.imap-rfc822-parse-adrlist by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-61889@lists.php.net to get a copy of this message
Note Submitter: software_support@palosanto.com ---- I don't know if there is a mistake in the implementation of the imap_rfc822_parse_adrlist function and I am very lazy to read all the RFC2822 to verify :)... but when try to pass to the function a very common email address like: "nobody@example.com" <nobody@example.com> It returns an array with two elements instead of one... one containing the correct address and another containing the message: UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR In other words it thinks that the data after the first address is incorrect data. I don't know if I'm wrong... can anybody explain me please if this behavior is the expected? Thanks a lot in advance -- Edgar Landivar PaloSanto Solutions www.palosanto.com

« previous php.notes (#61889) next »