Bug 97239

Summary: better support for including own vCard into mails
Product: [Applications] kmail2 Reporter: Hendrik Sattler <sattler2000>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: a.m.p.boelens, alpha.super-one, annma, gassauer, glad.deschrijver, merlo, montel, nico.schloemer, osnut, p.devicente, pembo13, rossi.f
Priority: NOR    
Version: 1.99.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.10
Sentry Crash Report:

Description Hendrik Sattler 2005-01-17 14:43:56 UTC
Version:           1.7.1 (using KDE 3.3.1,  (3.1))
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-3)
OS:                Linux (i686) release 2.6.9y

Hi,

I have two issues with the interaction of Kmail and Kaddressbook:
1.
there is no obvious way to include my own vCard in outgoing mails. I have to export it to a file first and include that file.

2.
it does not seem to be possible to select the default charset of an vCard attachment. However, for vCard-3.0, this is essential to support 8bit characters. Your default of "us-ascii" makes vCard-3.0 rather useless. Having the same default charset as kaddressbook (utf-8) would be a bonus :)

HS
Comment 1 Andreas Gungl 2005-06-05 21:12:07 UTC
*** Bug 54934 has been marked as a duplicate of this bug. ***
Comment 2 Andreas Gungl 2005-06-05 21:12:43 UTC
*** Bug 101460 has been marked as a duplicate of this bug. ***
Comment 3 Yves Glodt 2005-06-18 10:23:49 UTC
*** This bug has been confirmed by popular vote. ***
Comment 4 A T Somers 2006-04-08 07:02:14 UTC
I suggest adding two entries to the Attach menu: VCard (resulting in a dialog that allows you to select one or more addresses from the address book) and My VCard, which would just attach the owners VCard.
As as workaround for now, you can directly drag & drop addresses from the addressbook to the message window, where you can choose to attach them as VCards.
Comment 5 Raúl 2006-06-07 09:00:02 UTC
Another possible option would be, going to Preferences->Configure Kmail->Identities. Select any of them and press Modify, and then add in either General, Advance or Signature (this last preferred) and option to attach automatically and vCard.

This feature is present in thunderbird and while I used it, it was very useful.
Comment 6 Bram Schoenmakers 2007-03-25 23:19:48 UTC
*** Bug 108979 has been marked as a duplicate of this bug. ***
Comment 7 Adrian Friedli 2007-07-01 18:03:40 UTC
Bug 64815 and Bug 57093 are related to your second problem. Sadly they are open since years and nothing has been done :-(
Comment 8 Samuel Suther 2007-07-03 09:11:15 UTC
Raúl 2006-06-07 09:00:
Another possible option would be, going to Preferences->Configure Kmail->Identities. Select any of them and press Modify, and then add in either General, Advance or Signature (this last preferred) and option to attach automatically and vCard. 

That dont work. If i use Signature >> from File The Vcard will be insert as Text into Mailbody, not as attachment.

Same Problem if using Templates (Vorlagen) with INPUT =""

I think there must be a Paceholder like ATTACH =""
Comment 9 Christophe Marin 2009-07-07 22:52:01 UTC
*** Bug 190282 has been marked as a duplicate of this bug. ***
Comment 10 Christophe Marin 2009-07-07 22:52:28 UTC
*** Bug 199082 has been marked as a duplicate of this bug. ***
Comment 11 Glad Deschrijver 2010-03-25 18:58:14 UTC
I would like to see comment #5 implemented.
Comment 12 Anne-Marie Mahfouf 2011-11-30 17:34:04 UTC
Reassigning to kmail2
Comment 13 Laurent Montel 2012-08-23 20:41:52 UTC
Git commit 73fd2f396d57ece4bde41638d437f8ffef23cc73 by Montel Laurent.
Committed on 23/08/2012 at 22:41.
Pushed by mlaurent into branch 'master'.

Fix Bug 97239 - better support for including own vCard into mails

(need kdepim)

FIXED-IN: 4.10

M  +1    -1    CMakeLists.txt
M  +7    -0    akonadi/contact/contacteditor.cpp
M  +6    -0    akonadi/contact/contacteditor.h
M  +16   -2    kpimidentities/identity.cpp
M  +7    -0    kpimidentities/identity.h

http://commits.kde.org/kdepimlibs/73fd2f396d57ece4bde41638d437f8ffef23cc73
Comment 14 Laurent Montel 2012-08-23 20:43:56 UTC
Git commit b545cb2609f42e69886ea41178c8dcb8aa7080b7 by Montel Laurent.
Committed on 23/08/2012 at 22:43.
Pushed by mlaurent into branch 'master'.

Fix Bug 97239 - better support for including own vCard into mails

(need kdepimlibs)

FIXED-IN: 4.10

M  +1    -1    CMakeLists.txt
M  +1    -0    kmail/CMakeLists.txt
M  +28   -1    kmail/identitydialog.cpp
M  +3    -1    kmail/identitydialog.h
A  +83   -0    kmail/identityeditvcarddialog.cpp     [License: GPL (v2)]
A  +40   -0    kmail/identityeditvcarddialog.h     [License: GPL (v2)]
M  +1    -0    kmail/kcm_kpimidentities/CMakeLists.txt
M  +1    -2    kmail/kmcomposewin.cpp
M  +2    -1    kmail/kmstartup.cpp
M  +13   -0    messagecomposer/attachmentcontrollerbase.cpp
M  +2    -1    messagecomposer/attachmentcontrollerbase.h
M  +6    -0    messagecomposer/composerviewbase.cpp

http://commits.kde.org/kdepim/b545cb2609f42e69886ea41178c8dcb8aa7080b7