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

Jim Hale jim-ml@halemail.dyndns.org
Sun, 12 May 2002 10:13:52 -0500


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
>