How can I email a vCard to users who are unable to download it?
Posted
by
Zachary Lewis
on Pro Webmasters
See other posts from Pro Webmasters
or by Zachary Lewis
Published on 2012-03-03T03:03:20Z
Indexed on
2012/03/22
5:38 UTC
Read the original article
Hit count: 427
I have created vCards for the people in my business, and they are great for users on standard browsers; however, users browsing on a mobile device (notably iPhone) are unable to download and view my vCard.
Is there a service that I can direct them to that will allow them to receive an email containing my vCard, or is there a simple way I can set this up myself? I am running my site on WordPress, and initial attempts have failed spectacularly.
I'd like for them to be given the option to perform either action, but have the predominant action more prominently visible (probably via user agent detection). Something along the lines of:
It looks like you're on an iPhone! It's a bummer they can't download vCards, but if you enter your email address, we'll wrap one up and send it your way!
Don't worry, we won't send you junk email. Heck, we don't even save your email address!
Think you've got it all figured out? Fine, download the vCard instead!
If you know of a service or simple-to-implement PHP library (or WordPress plug-in), please let me know! If not, let me know what the best solution to this problem is!
© Pro Webmasters or respective owner