Open Bug 29158 Opened 25 years ago Updated 2 years ago

Better conversion of name/addresses from mail headers to contact in "Collected Addresses"

Categories

(MailNews Core :: Address Book, defect)

x86
All
defect

Tracking

(Not tracked)

People

(Reporter: rzach, Unassigned)

References

Details

The conversion of anme/email strings from mail headers to address book cards
should be made to handle special cases.  Right now, the last word in the name
string gets to be the last name, the rest the first name.  This is problematic for:

1. suffixes, e.g., "Ph.D.", "M.D.", "Jr." etc.
("John Doe, Jr." gets converted to (first; last): John Doe; Jr. but should be
John;Doe, Jr.)
2. last names with "van", "de", "della", etc.
("John von Doe" gets converted to John von;Doe but should be John;von Doe)
3. Forwarded emails
"John Doe (by way of Jane Doe <jdoe@doe.org>)" gets converted to: John Doe (by
way of Jane Doe; <jdoe@doe.org>

Linux build 2000.02.24.08
Who wants to take this one?  Anyone?  Anyone?
Is this really our code doing this? I bet it's the vcard code. If it is, one
approach might be to investigate an upgrade of our old vcard code to a newer
version.

In general, I think vcards are pretty low priority, though. In a pinch, I could
imagine cutting them.
This isn't about vCards, but about how you convert the name/email address
information from a mail header (when you choose "Add to address book" from the
context menu) to a *address book* card.
zach, we haven't implemented the Add To Addressbook item yet. It didn't make the
PDT cut. Look for it after beta1. But when we do that, we'll take the email
address, try to extract a first and last name if present from it and bring up a
pre-filled address book card with those values pre-filled.
What I meant to say was: conversion of name/addresses from mail headers to the
"Collected Addresses" abook.  I don't think it's terribly important, but would
be nice if it worked correctly.

I thought of another special case: I've sometimes seen people give their name as
"LAST First" (last name in all caps).
> This isn't about vCards

I think it is, at least in some circumstances. Add-to-address-book works (or at 
least it used to) by building a vcard out of the recipients, and then catenating 
the URL-encoded vcard onto an addrbook URL. This probably doesn't apply to the 
new Collected Addresses feature, but it probably does apply to the dialog box 
you get when you add someone to your address book.
the collected address code uses the same rfc822 address parser as the add to
address book code, I would think. The difference is that the add to address book
feature gives the user a chance to edit the proposed card.
Looks like nobody owns this issue, so I am taking bug.
Status: NEW → ASSIGNED
Target Milestone: M15
Mass moving to M17
Target Milestone: M15 → M17
Mass move mailnews bugs to Putterman.  Ouch.
Assignee: hangas → putterman
Status: ASSIGNED → NEW
Mail Review recommends not in this release.  Marking M20.
Target Milestone: M17 → M20
move to future milestone
Target Milestone: M20 → Future
reassigning to chuang.
Assignee: putterman → chuang
reassigning to cavin
Assignee: chuang → cavin
Blocks: 168902
Product: Browser → Seamonkey
Assignee: cavin → mail
QA Contact: lchiang → addressbook
Priority: P3 → --
Target Milestone: Future → ---
This bug is being marked EXPIRED as it has seen no activity in a very long time.

If you think that the issue reported might still be relevant, please test with a recent release of SeaMonkey and if the problem persists feel free to re-open the report. Thank you.

http://www.seamonkey-project.org/
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → EXPIRED
Bulk reopening incorrectly expired bugs - no activity does not constitute no bug - these need proper checking.
Status: RESOLVED → REOPENED
Resolution: EXPIRED → ---
Assignee: mail → nobody
Status: REOPENED → NEW
Component: MailNews: Address Book & Contacts → Address Book
Product: SeaMonkey → MailNews Core
OS: Linux → All
Summary: Need more intelligent name to card conversion → Better conversion of name/addresses from mail headers to contact in "Collected Addresses"
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.