How to send a VCard

Sending vCards from Ozeki SMS

A vCard is an electronic business (or personal) card and also the name of an industry specification for the kind of communication exchange that is done on business or personal cards.

You may have seen a vCard attached to an e-mail note someone has sent you. Because vCard is a published industry specification, software application developers can create programs that process vCards by letting you view them, or drag-and-drop them to an address book or some other application. vCards can be sent in SMS messages.

To send a vCard from ozeki SMS you need to create a text message, that has special characters to mark the new lines. Please take a look at the following example:

vcard sms
Figure 1 - vCard SMS

Note that every line ends with \0x0D\0x0A.! As a matter of fact you do not even have to put line breaks between the lines. The following is the same:

Figure 2 - vCard SMS example

If you would like to send a VCard from a database, you would use the follwoing SQL statement:

insert into ozekismsout (receiver,msg,status)
values ('+36203105366','BEGIN:VCARD\0x0D\0x0AVERSION:2.1\0x0D\0x0AN:Sandor
Kovacs;\0x0D\0x0ATEL;CELL:+36209937723\0x0D\0x0AEND:VCARD\0x0D\0x0A','send');

More information