Send vcard

Send vcard SearchSearch
Author Message
Luis Fuentes
New member
Username: Batuzail

Post Number: 1
Registered: 06-2014
Posted on Thursday, June 05, 2014 - 05:34 pm:   

Hi,
I'm testing Nowsms, i'm triying send one vcard, with the opttion to send vcard only works in Simbian devices and Windows phone, in iphone an android don't work.
How I can send a vcard and understand that all devices?

I'm try to send over MMS, but I don't find the option for attach vcard.

Regads
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4917
Registered: 08-2008
Posted on Thursday, June 05, 2014 - 08:08 pm:   

Hi,

You need to send via MMS. iPhone and Android do not support the old Nokia/WAP format.

The vCard is attached as a content file, just as an image would be attached.

Give the vCard file a .vcf extension so that the MIME type will be set correctly in the MMS message.

--
Des
NowSMS Support
Luis Fuentes
New member
Username: Batuzail

Post Number: 2
Registered: 06-2014
Posted on Friday, June 06, 2014 - 07:50 am:   

Thanks for you answer quickly.
Can you show me an example?
What's the mime type for vcard?

Regards and thanks again
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4918
Registered: 08-2008
Posted on Friday, June 06, 2014 - 02:19 pm:   

I'm not really sure what type of example you want ... so I'll walk through my previous message with more detail.

But obviously you start with a VCard. Here's the simple one I just used for a test:

BEGIN:VCARD
VERSION:3.0
N:Last;First;;;
FN:First Last
TEL;type=pref:+447777777777
END:VCARD

Save the VCard as a text file with a '.vcf' file extension. For example, I saved the above in a file named vcard.vcf.

Then in the NowSMS web interface, you send an MMS message with that VCard as an attachment.



Assuming that works, and you want to send programatically, start with one of our examples here: http://www.nowsms.com/doc/submitting-mms-messages

Of course, it is a little harder to send an MMS than an SMS. NowSMS can function as an MMSC and deliver MMS content directly to devices, but many operators block MMS delivery from external MMSCs. The alternative is sending through an operator MMSC, usually with a GSM modem.

There are modem quick start guides that explain MMS configuration for GSM modems here: http://www.nowsms.com/doc/quick-start-guide

And for more background on how MMS Works, see http://www.nowsms.com/faq/how-mms-works

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4919
Registered: 08-2008
Posted on Friday, June 06, 2014 - 02:23 pm:   

I forgot to answer your question about the MIME type, it is text/x-vcard

You'll note that I didn't mention that above. When you submit by file upload there is nowhere to specify the MIME type. NowSMS determines the MIME type in this case based upon file extension. So using the .vcf file extension is very important.

--
Des
NowSMS Support
Luis Fuentes
New member
Username: Batuzail

Post Number: 3
Registered: 06-2014
Posted on Tuesday, June 10, 2014 - 10:21 am:   

It works perfectly!
Part of the problem was the sim, I tried with another sim and it worked, had some restriction of the operator.

Thanks again