On 8/5/19 5:18 PM, Cameron Simpson wrote:
I would guess that this was attached with a Content-Type header of "text/plain", which says that the attachment is plain text. It _should_ have been attached as text/vcard, which says that it is a contact. I'm surprised that this was incorrect if it came from an iPhone as the PRODID header above hints.
Hmm. I just shared myself a contact from my iphone by email and the .vcf attachment has Content-Type "text/directory". Thunderbird shows it inline as text but does know that it is a vcard file.
If you have the original email, what Content-Type does it show for the attachment headers?
Cheers, Cameron Simpson
.
. It looks like you are correct. From the last few lines of the source:
--__CONTENT_64564_PART_BOUNDARY__33243242__ Content-Type: text/plain; charset=us-ascii Content-ID: <1> Content-Disposition: attachment; filename="text_1.txt" Content-Location: text_1.txt
MURPHYs Cardiologist --__CONTENT_64564_PART_BOUNDARY__33243242__--
Bob