note 38234 added to function.imap-rfc822-parse-adrlist
| From: | software_support at palosanto dot com | Date: | Sat, 13 Dec 2003 03:59:41 +0000 |
| Subject: | note 38234 added to function.imap-rfc822-parse-adrlist | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-61885@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.imap-rfc822-parse-adrlist.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38234
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38234&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38234&report=yes
Search -- http://master.php.net/manage/user-notes.php