[imp] Different (I think) comma address problem... and solution

Matthew J. Paschke, SJ mjp@jesuits.net
Sun, 12 May 2002 11:20:30 -0400


Sorry for being unclear.  It's Imp 3.1 (RC 1) and Turba 1.1 (RC 1).  The
file is imp/templates/contacts/javascript.inc.

Sorry about that.

Matt

-----Original Message-----
From: Jim Hale [mailto:jim-ml@halemail.dyndns.org] 
Sent: Sunday, May 12, 2002 11:14 AM
To: 'Matthew J. Paschke, SJ'
Cc: Mailing List - IMP
Subject: RE: [imp] Different (I think) comma address problem... and
solution

I can't seem to find that javascript.inc file under a
/templates/contacts/ folder. Under which application is that? Horde, IMP
or Turba? :/

Thanks!

Jim Hale
-
Jim & Kathy's Website Collection
http://hale.dyndns.org

> -----Original Message-----
> From: imp-bounces@lists.horde.org 
> [mailto:imp-bounces@lists.horde.org] On Behalf Of Matthew J. 
> Paschke, SJ
> Sent: Sunday, May 12, 2002 9:51 AM
> To: imp@lists.horde.org
> Subject: [imp] Different (I think) comma address problem... 
> and solution
> 
> 
> Hello,
> 
> A lot of my IMP users have names with commas in them -- like 
> George Jones, PhD.  Users were having a problem when they 
> used Turba and the Addressbook popup.  Whenever they added 
> one of these comma names to their message, they would get 
> bounce messages back from the SMTP server because "George 
> Jones" was being treated as one outgoing address and "PhD 
> <blah@blah>" was being treated as the other.  To fix this, I 
> changed templates/contacts/javascript.inc as follows:
> 
> Change line 101 from: 
> 
> address = fullname + " <" + address.substring(pos + 1, 
> address\.length)
> + ">";
> 
> to:
> 
> address = "\"" + fullname + "\" <" + address.substring(pos + 1,
> address\.length) + ">";
> 
> The extra quotes around the address seem to do the trick.
> 
> I don't know if others have had this problem, but I thought 
> my experience might be helpful.
> 
> Thanks,
> Matt
> 
> 
> -- 
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>