We have a problem with autocomplete and multiple addresses along with
Squirrelmail 1.4.2. With Squirrelmail 1.2.11 we could enter a new
item to the addressbook like this:
Nickname: my_list
Email Address: [EMAIL PROTECTED],com, [EMAIL PROTECTED]
First Name: whatever
Last name: whatever
Additional info: whatever
With autocomplete we could type my in the To: part of the compose
screen and it would show up as
my_list <[EMAIL PROTECTED],[EMAIL PROTECTED]>
With 1.2.11 I could see in a packet sniffer this was being sent to
the smtp daemon like so:
RCPT TO: <[EMAIL PROTECTED]>
250 Ok
RCPT TO: <[EMAIL PROTECTED]>
250 Ok
Everything looks the same on the browser page with 1.4.2 however
the sniffer sees this instead
RCPT TO:<[EMAIL PROTECTED],[EMAIL PROTECTED]>
501 Bad address syntax
It looks like the function parseAddrs in functions/strings.php in
1.2.11 was what split the line on commas. However that function no
longer exists in 1.4.2 and I'm having a hard time figuring out where
this sort or processing should occur in the 1.4.2 code.
If autocomplete is not used and the address is manually picked from the
address book, then with 1.2.11 the To: line looks as shown above but it
is dealt with in the code. If the address is picked manually in 1.4.2
then the nickname and brackets don't show up in the address bar so it
also works. It is just with autocomplete that there is a problem.
Any ideas?
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users