[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: kab interaction problem
From:       Mike Davison <davison () cs ! utk ! edu>
Date:       2000-10-31 21:45:47
[Download RAW message or body]


Ok, after some digging I've found something. If kmail is set to use kab, 
addressses saved from kmail (right click on address and select 'add to address 
book') will have the problem I described. Yet, if kmail is configured to use 
abbrowser, saved addresses will not have the problem. The difference is that 
when abbroswer is used the 'emails' field gets just the e-mail address whereas 
when kab is used the 'emails' field gets 'name name@domain'.  Kmail latter 
chokes on that format. For example:

Entry created with kab:

    # subsections:
    [addresses]
    [END addresses]
    # key-value-pairs:
    URLs=""
    birthday="0, 0, 0"
    comment=""
    custom=""
    emails="John Smith <xxxxxx@xxxx.xxx>\e"
    firstname="Jon"
    fn=""
    keywords=""
    lastname="Cure"
    middlename=""
    nameprefix=""
    rank=""
    talk=""
    telephone=""
    title=""
    user1=""
    user2=""
    user3=""
    user4=""

Entry created with abbrowser:

    # subsections:
    [addresses]
    [END addresses]
    # key-value-pairs:
    URLs=""
    birthday="0, 0, 0"
    comment=""
    custom="KMail:1.0\n X-FirstName\n Michael\n[EOR]\n X-LastName\n 
Haeckel\n[EOR]\n EMAIL\n Michael@Haeckel.Net\n[EOR]\n N\n Michael 
Haeckel\n[EOR]\n X-FileAs\n Michael Haeckel\n[EOR]\n[EOS]\n\e"
    emails="Michael@Haeckel.Net\e"
    firstname="Michael"
    fn="Michael Haeckel"
    keywords=""
    lastname="Haeckel"
    middlename=""
    nameprefix=""
    rank=""
    talk=""
    telephone=""
    title=""
    user1=""
    user2=""
    user3=""
    user4=""

Kmail can deal with the format created by abbrowswer, but not the format created 
by kab. It looks to me like the address is not inserted into the DB correctly 
when kab is used because KabBridge::addresses() assumes that the entry in the 
emails field is of the form 'name@domain' rather than 'name name@domain'. 
Perhaps the address needs to be simiplified/truncated in AddToKabDialog(). 

In the meantime, it looks like I'll be switching to abbrowswer. 

Thanks, 
Mike

Michael Haeckel wrote:
> On Tuesday, 31. October 2000 21:27, Mike Davison wrote:
> > It must be a problem specific to Kab as I am using kab rather than
> > abbrowser.
> 
> They are using the same database. I just switched even to KAB, but also can't 
> see the problem.
> 
> Regards,
> Michael Häckel
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic