How i can generate a email so when the user open de email it add to the iphone calendar and adroid
You have to attach an .ICS file. An ICS file contains information about the event in a standardized format.
Example:
[code]BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 10.0 MIMEDIR//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
ATTENDEE;CN=outlook2002@company.com;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:outlook2002@company.com
ORGANIZER:MAILTO:outlook2000@company.com
DTSTART:20010823T023000Z
DTEND:20010823T030000Z
LOCATION:my office
TRANSP:OPAQUE
SEQUENCE:0
UID:040000008200E00074C5B7101A82E00800000000903FC6413F2BC101000000000000000010000000D05E59B078F19941AD2E25FCACF8BD60
DTSTAMP:20010823T021842Z
DESCRIPTION:When: Wednesday\, August 22\, 2001 7:30 PM-8:00 PM (GMT-08:00)
Pacific Time (US & Canada)\; Tijuana.
Where: my
office
~~~~~~~~~
\
SUMMARY:Important Business Meeting with 15 minute reminder
PRIORITY:5
CLASS:PUBLIC
BEGIN:VALARM
TRIGGER:-PT15M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR[/code]
Specs in RFC2445.
But how i can make this with my xojo calendar
Ok you have a calendar build with Xojo. When the user adds an event you write the details to an ICS file which is a standard text file. Save that file somewhere and attach it to your email message.
ok thanks
[quote=75240:@Oliver Osswald]RFC2445 is obsoleted by 5545, I think.
http://de.wikipedia.org/wiki/ICalendar[/quote]
Didn’t know that. That RFC is some tough fellow though…