Bug 172211 - Wrong vCards mapped to sender when multiple vCards are attached
Summary: Wrong vCards mapped to sender when multiple vCards are attached
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.10
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-05 16:07 UTC by Malte S. Stretz
Modified: 2015-04-12 10:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2008-10-05 16:07:20 UTC
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
Comment 1 Laurent Montel 2015-04-12 10:08:55 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.