Version: 1.4.3 (using KDE KDE 3.0.4) Installed from: SuSE RPMs OS: Linux I have sent myself two vcards, one taken from kab, one generated myself. kmail does not like to display them, obviously, and gives me an error message instead (German error text: Fehler beim Lesen der Visitenkarte: Die Zeile der Visitenkarte war fehlerhaft, which translates Error while reading vcard: The line of the vcard was faulty). I will attach both vcards. This bug is unconfirmed, since the vcard files might really be corrupt. But if they are, kab produces corrupt vcard files, so I will open a new bug report for kab.
Example vcard BEGIN:VCARD VERSION:2.0 UID:tnhwTvuwr FN:Herr Christian Wolfgang Hujer EMAIL:Christian.Hujer@itcqis.com EMAIL:Christian@hujer.com X-KADDRESSBOOK-X-AssistantsName:Frau Lilla Steć URL:http://www.itcqis.com/ N:Hujer;Christian;Wolfgang;Herr; ROLE:Geschäftsführender Gesellschafter ORG:ITCQIS GmbH ADR;TYPE=work:;;Johanneskirchnerstr. 132;München;;D-81927;Deutschland ADR;TYPE=home:;;Johanneskirchnerstr. 132;München;;D-81927;Deutschland TEL;TYPE=home:+49 (0)89 27 37 04 37 TEL;TYPE=work:+49 (0)89 27 37 04 37 TEL;TYPE=cell:+49 (0)160 28 29 757 TEL;TYPE=work;TYPE=fax:+49 (0)89 27 37 04 39 BDAY:1975-07-22 END:VCARD
example vcard BEGIN:VCARD VERSION:2.0 FN:Herr Christian Wolfgang Hujer EMAIL:Christian.Hujer@itcqis.com URL:http://www.itcqis.com/ N:Hujer;Christian;Wolfgang;Herr; ORG:ITCQIS GmbH ADR;TYPE=work:;;Johanneskirchnerstr. 132;Muenchen;;D-81927;Deutschland TEL;TYPE=work:+49 (0)89 27 37 04 37 TEL;TYPE=work;TYPE=fax:+49 (0)89 27 37 04 39 END:VCARD
I first tried VERSION:3.0 That did not work, that's why there's VERSION:2.0 instead. If you use the example vcard files, do %s/^VERSION:.*$/VERSION:3.0/ first.
Subject: Re: vcard does not get displayed, kmail shows error instead KMail complains because the EMAIL field doesn't have a qualifier (i.e. "pref", "internet" or "x400") and it doesn't seem to like qualifiers of the form "TYPE=work" (as in TEL). Instead it looks for "work". You read the RFC's so you have to tell me whether KMail is wrong. Regards, Ingo
Created attachment 288 [details] self generated VCard-file A vCard-File I generated myself using a perl script. This vCard-File did not work and made me investigate further. Warning: I do not know wether this vCard file is corrupt (though I think it's fine).
Created attachment 289 [details] Another vCard-file, this time from kabc vCard-file snipped from kabc. This vCard-file's correctness depends on wether kabc generates correct vCards or not.
Created attachment 290 [details] Yet another vCard-file. This time with email type. Still did not work with kmail. This is a modified version of the first attachment (288) .vcf. It contains an email type header, but still does not work with kmail.
Created attachment 291 [details] vCard example from RFC 2425 This is another example of a vCard. This vCard really should work, since it is an example from RFC 2425. Currently kmail complains about it.
Subject: Re: New: vcard does not get displayed, kmail shows error instead KMail now displays all examples (except the one from RFC 2425 which is missing the mandatory VERSION field) you attached to this bug report. Furthermore it correctly displays the two vCards of the authors of RFC 2426 (vCard MIME Directory Profile).