"Roland Winkler" <wink...@gnu.org> writes:

> Part of BBDB (yes, even v2) has allowed the possibility that a mail
> address in a record is not just a plain "sm...@foo.com". But the
> record of, say, Johnathan Smith may also contain an RFC 822 address
> such as "John Smith <sm...@foo.com>". 
>
> Jognathan Smith
>        phone (home): (123) 456-7890
>                mail: sm...@example.com, John Smith <sm...@foo.com>,
>                      Joe Smith <j...@bar.com>
>
> Obviously, this comes handy, if you want to use different mail
> addresses in a record with different real names. 

With BBDB v2 I always used separate records for this case, putting
(home), (work) etc in the record name, because cycling thru the email
addresses simply did not work properly; it always used the last one.

Now that's fixed, but I suspect I'll still use separate records in a
case like this. For example, sm...@foo.com should have a different work
phone than j...@bar.com. But maybe I need to experiment more.

It would be nice to not have (home) show up in the final
email address; putting a real name in the Mail field could fix that
(assuming it overrides the real name in the record).

> Would it be useful if the canonical mail address "sm...@foo.com"
> contained in full mail address "John Smith <sm...@foo.com>" was
> recognized properly throughout BBDB? 

I suspect so, yes.

Perhaps a solution is to make the mail: field more structured:

mail: 1: name: ""
mail: 1: email: sm...@example.com
mail: 2: name: "John Smith"
mail: 2: email: sm...@foo.com
mail: 3: name: "Joe Smith"
mail: 3: email: j...@bar.com

Which would require even bigger code changes, but might be better in the
long run.

-- 
-- Stephe

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to