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

Jim Hale jim-ml@halemail.dyndns.org
Sun, 12 May 2002 11:00:50 -0500


Ah - That explains it. :)

I'm just using IMP 3.0 and Turba 1.0. JUST got these going and ain't had
the heart to do the upgrade thing yet. 

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

> -----Original Message-----
> From: Matthew J. Paschke, SJ [mailto:mjp@jesuits.net] 
> Sent: Sunday, May 12, 2002 10:53 AM
> To: 'Jim Hale'
> Subject: RE: [imp] Different (I think) comma address 
> problem... and solution
> 
> 
> Are you sure you're using IMP 3.1 RC1 and Turba 1.1 RC1?  I 
> think that file is new in the .1 versions.
> 
> -Matt
> 
> -----Original Message-----
> From: Jim Hale [mailto:jim-ml@halemail.dyndns.org] 
> Sent: Sunday, May 12, 2002 11:57 AM
> To: 'Matthew J. Paschke, SJ'
> Cc: Mailing List - IMP
> Subject: RE: [imp] Different (I think) comma address 
> problem... and solution
> 
> I must be blind - I don't see a contacts folder under templates. :/
> 
> 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 10:21 AM
> > To: imp@lists.horde.org
> > Subject: RE: [imp] Different (I think) comma address 
> > problem... and solution
> > 
> > 
> > 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
> > > 
> > 
> > 
> > --
> > IMP mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> > 
>