[Bug 172211] New: Wrong vCards mapped to sender when multiple vCards are attached

Malte S. Stretz kde-bugger at msquadrat.de
Sun Oct 5 15:07:23 BST 2008


http://bugs.kde.org/show_bug.cgi?id=172211

           Summary: Wrong vCards mapped to sender when multiple vCards are
                    attached
           Product: kmail
           Version: 1.9.10
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: kde-bugger at msquadrat.de


Version:           1.9.10 (using 3.5.10, Kubuntu (hardy)
4:3.5.10-0ubuntu1~hardy1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.24-19-generic

Not sure if this is a wish or a bug, feel free to change the severity:

I just sent me and some friends a bunch of vCards, including one for myself. 
In the received mail I have a link "[vCard]" beneath my sender which is fine. 
But unfortunately it seems like KMail always picks the first vCard from the
attachments and that one isn't mine.  

I think KMail should display the [vCard]-link only if the attached vCard has
the same email address as the sender.  There are other solutions possible (like
only show the [vCard]-link when only one vcard is attached) but all of them are
error prone, eg. what should happen if I send somebody the vCard of somebody
else?  Currently that mail will display the vCard as if it belonged to me.

Implementing this should be interesting over IMAP because you'll have to always
fetch vCard attachments just to show a little link.  Maybe with IMAP the
[vCard]-link shouldn't be shown at all, it actually doesn't add that much
information and in the worst case the info is actually wrong.

Another possibility would be to add a parameter to the Content-Type of the
personal vCard when sending, like
  Content-Type: text/directory; charset=utf-8; x-sender=true
or something like that.  But that should be coordinated with other projects...
hmmm... Google told me that there's a vCard 4 spec underway [1], and I guess I
don't have to show you this [2] page :)

[1]http://www.ietf.org/internet-drafts/draft-ietf-vcarddav-vcardrev-03.txt
[2]http://microformats.org/wiki/vcard-suggestions


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list