Guest
2007-05-09T10:30:18Z
How do I send vCalender and vCard messages via the SMS APIs
Support
2007-05-09T10:34:00Z
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:

http://www.intellisoftware.co.uk/smsgateway/sendmsg.aspx?username=yourusername&password=yourpassword&to=44771012345&text=BEGIN:VCARD%0D%0AVERSION:2.1%0D%0AN:Bloggs;Joe%0D%0ATEL;HOME:123456789%0D%0ATEL;CELL:123456789%0D%0AEMAIL;TYPE=internet:me@mycompany.com%0D%0AEND:VCARD

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:

http://www.intellisoftware.co.uk/smsgateway/sendmsg.aspx?username=yourusername&password=yourpassword&to=44771012345&type=3&udh=06050423F40000&ud=424547494E3A56434152440D0A56455253494F4E3A322E310D0A4E3A426C6F6767733B4A6F650D0A54454C3B484F4D453A3132333435363738390D0A54454C3B43454C4C3A3132333435363738390D0A454D41494C3B545950453D696E7465726E65743A6D65406D79636F6D70616E792E636F6D0D0A454E443A5643415244

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