How can I send a task request (VTODO) from the simple mail client?

xemox

Member
Hi People, :)




What is the iCALENDAR format for a 'TASK Request' in Outlook?




When I send a normal mail from my application as VCALENDAR\VEVENT format, Outlook accepts it as normal meeting request(including ACCEPT, DECLINE .. buttons).




And if I do the same for VACALENDAR\VTODO (Task request), the outlook sees it as a normal e-mail, NOT as a Task request with ACCEPT and DENY buttons.




So, my question is what is the proper (VCALENDAR/VTODO) format for a task Request in Outlook ? In other words, how can I send a simple task request from simple mail client (not outlook)? If I send an e-mail with VEVENT it works, but if I send an e-mail with VTODO component, Outlook accepts it NOT as a task request, but as an e-mail.




I attached my version of VTODO that I am sending as normal e-mail.




I use outlook version 2007 in WinXP.




Regards,


Muzaffar


-------- VTODO example ---
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 9.0 MIMEDIR//EN
METHOD:REQUEST
VERSION:2.0
BEGIN:VTODO
ORGANIZER:Mailto:" + fromUser
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=FALSE:MAILTO:muzaffaruz@yahoo.com
DTSTART:" + getStartDate(sc)
DUE:" + getEndDate(sc)
PRIORITY:1
SUMMARY:test summary
DESCRIPTION: Testing to send a test request
UID:" + getUid(sc) + "\n") ;
SEQUENCE:0\n") ;
DTSTAMP:" + getDtstampDate()
STATUS:Needs Action
END:VTODO
END:VCALENDAR
 

Top