I want to allow visitors to a website to download vcard contact information directly into MS Outlook.
I have created a contact in Outlook and exported it as a .vcf file to a folder in my website called 'vcard'. The folder has been uploaded to the server. I have a link on a page to that vcard/.vcf file.
Here's the problem, when I or anyone else click on the webpage link to download the vCard, what displays is a text file, which is not supposed to happen:
BEGIN:VCARD VERSION:2.1 N:Gram;Chresten;(Chris) J. FN:xxx J. Gram ORG:Bateman Seidel Miner Blomgren Chellis & Gram, P.C. TITLE:Shareholder TEL;WORK;VOICE:(503) 972-xxxx TEL;WORK;FAX:(503) 972-xxxx ADR;WORK:;;888 SW Fifth Avenue, Suite 1150;Portland;OR;97204;Uni
ted States of America LABEL;WORK;ENCODING=QUOTED
:888 SW Fifth Avenue, Suite 1150=0D=0APortland, OR 97204=0D=0AUnited States o= f America URL;WORK:http://www.batemanseidel.com
el.com REV:20050312T203734Z END:VCARD
When I test it locally it works fine.
Thanks in advance.