Mobile app version of vmapp.org
Login or Join
Martha676

: How can I email a vCard to users who are unable to download it? I have created vCards for the people in my business, and they are great for users on standard browsers; however, users browsing

@Martha676

Posted in: #Email #Php #Wordpress

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!



enter-your@email.com



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!

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Martha676

2 Comments

Sorted by latest first Latest Oldest Best

 

@Martha676

The most flexible solution I've found is PHPMailer.

A few things to note: You'll have to check with your webhost and determine if you can use sendmail from their server, or if you'll have to use an SMTP server elsewhere. That will be the biggest block from actually sending your email.

10% popularity Vote Up Vote Down


 

@LarsenBagley505

you may want to try vCard Makers website to generate them, or take a look at this article about generating iPhone, Android and BB compatible vCards/Qrcodes

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme