[imp] Expand more than name field?

Chris Shaffer cat-imp at gesserit.net
Sat Aug 30 14:16:54 PDT 2003


Quoting Jan Schneider <jan at horde.org>: 
 
> Zitat von Chris Shaffer <cat-imp at gesserit.net>: 
>  
> > I've added a field named lastname to turba, and it is searchable. 
> > Everything works fine in turba.  However, when using imp to compose a 
> > message, I can't figure out how to get the "Expand Names" function to 
> > search both the name and lastname fields.  For example, I have a 
> record 
> > Davy Jones.  If I put "Davy" in the To: box, it expands correctly to 
> Davy 
> > Jones.  If I put "Jones" in the To: box, it expands to "Please 
> resolve 
> > ambiguous or invalid addresses." 
>  
> IIRC IMP simply calls Turba's expandNames API method, so that's the 
> place 
> where you should look. 
 
Unfortunately, from what I can tell, it's hard coded to search only the 
$name field.  Since I'm not a programmer, a patch against HEAD to search 
more fields is not going to happen (from me at least). 
 
--  
Chris Shaffer 
cat-imp @ gesserit.net 



More information about the imp mailing list