Closed Bug 126538 Opened 23 years ago Closed 22 years ago

incorrect format of attached vCard

Categories

(MailNews Core :: Composition, defect, P3)

Sun
Solaris
defect

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: calvin.liu, Assigned: bugzilla)

Details

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204 attach a vCard file to a message and send it with mozilla, the mail client treat it as a plain text file. Reproducible: Always Steps to Reproduce: 1. send a message with mozilla, attached with a vCard file 2. open the message and check the content 3. Actual Results: vCard content is shown as plain text Expected Results: vCard is shown as it should be
I think the reason is the composer send vCard as text/plain format.
Attached file modified file
change it to text/x-vcard then it's ok
OS: All → Solaris
Priority: -- → P3
Hardware: All → Sun
Should it not also comply to the note in the bug id #79709 http://bugzilla.mozilla.org/show_bug.cgi?id=79709 ------- Additional Comment #4 From Karl Ove Hufthammer 2002-01-13 07:24 ------- Note that the correct MIME type is 'text/directory', not 'text/x-vCard'. See RFC 2425. ------------------------------------------------------------------------------- Also when composing a new e-mail is should show it as a vcard and not plain text? -------example bleow how it looks in a new compose e-mail. -- begin:vcard n:john;doe tel;cell:+46 555 55 55 55 tel;fax:+46 tel;work:+46 x-mozilla-html:FALSE url:http://www.sunet.se org:Some company;Dev version:2.1 email;internet:my-email@domain.none title:System Administrator adr;quoted-printable:;;Some company,=0D=0Aplacement;city;;SE-zip code;Sweden fn:John Doe end:vcard
Calvin, are you just attaching the vcard file as a normal attachment? Is the request that ".vcf" files be detected as vcard files? Or that files with particular content (what content?) be detected as vcard files?
I just attached the .vcf file like a normal attachment file. Is it a wrong way?
You tell me; I have never used or seen a .vcf file. ;) But I _do_ know something about the MIME stuff in mozilla, so....
QA Contact: sheelar → trix
Boris Zbarsky, you're right. The problem is caused by mis-configured .mime.types file. There should be a line in .mime.types file like this: type=text/x-vcard exts=vcf Then it'll work. I'll close this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
verified
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: