[imp] From/Reply To/etc address fix with specified name

Kris von Mach dev@swishmail.com
Wed, 14 Feb 2001 17:57:25 -0500


Oh great :)

I knew I wasn't REALLY that crazy :P

__
Kris Mach

----- Original Message -----
From: "doug moore" <lordscarlet@idledreams.net>
To: <imp@lists.horde.org>
Sent: Wednesday, February 14, 2001 4:32 PM
Subject: [imp] From/Reply To/etc address fix with specified name


> OK, Chuck and I (ok, Chuck :) ) traced down the mailing problem when a
user has
> specified a name.  In RFC822.php the address is split using
>
> $parts = preg_split('/[ \\x09]+/', $phrase, 0, PREG_SPLIT_NO_EMPTY);
>
> This worked fine and dandy up until sometime at the beginning of the
month.
> The third field specifies the maximum number of indexes to return to the
> array.  Normally, you would assume 0 would specifiy no limit.  Apparently
> instead it is now actually setting the limit to 0, therefore returning
"doug
> moore" as the first element of the array rather than "doug" as the first
> element and "moore" as the second.  Chuck put in a temporary fix until he
can
> figure out what is up with PHP.  For those interested, he just removed the
last
> 2 arguments so that no limit is specified.
>
> doug.
>
> --
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
>