Guest
18 years ago
How do I send vCalender and vCard messages via the SMS APIs
Support
18 years ago
SENDING vCALENDAR:

Calendar appointments are sent as standard SMS text message containing a vCalendar:

BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
DTSTART:20041130T123000Z
DTEND:20041130T1300000Z
SUMMARY:Lunch
END:VEVENT
END:VCALENDAR


In this example the appointment is called 'Lunch' starting at 12:30 30/11/04 and ending at 13:00 30/11/04.

There are plenty of reference on the web, just search for 'vCalender specification'.

NOTE: You will need to set the MaxConCatMsgs appropriately if content will not fit into 1 SMS message.


SENDING vCARD:

Contacts are sent as standard SMS text message containing a vCard:

BEGIN:VCARD
VERSION:2.1
N:Bloggs;Joe
TEL;HOME:123456789
TEL;CELL:123456789
EMAIL;TYPE=internet:me@mycompany.com
END:VCARD


Example:


NOTE: You will need to set the MaxConCatMsgs appropriately if content will not fit into 1 SMS message.


SmartMessaging Format

Many phones require the vCards in Nokia SmatMessgaing format, as follows:

Message Type: Binary
UDH: 06050423F40000
UD: vCard text (as above) encoded in ASCIIHex

Example:


NOTE: Max vCard length is 133 characters (including spaces, LFs and CRs), this equals 266 characters in the ud paramater.