We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Time Zones and Aspose.Network.Mail.Appointment.RequestApointment()

The RequestAppointment method is setting timezone information in the calendar invitations it generates. How do I set the time zone information explicitly rather than having the Aspose library handle it? Attached is a sample invitation that I created using the library.

BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:-//Aspose Ltd//iCalender Builder (v3.0)//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Eastern Standard Time
BEGIN:STANDARD
DTSTART:20071104T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=11;BYDAY=1SU
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:Standard Time
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20070311T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=3;BYDAY=2SU
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:Daylight Savings Time
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ORGANIZER;CN=rubikzube@gmail.com:mailto:rubikzube@gmail.com
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=rubikzube@gmail.com:mailto:rubikzube@gmail.com
DESCRIPTION:Come on Down
SUMMARY:party!
DTSTART;TZID=Eastern Standard Time:20091016T000000
DTEND;TZID=Eastern Standard Time:20091016T030000
UID:637@rubikzube.com
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20091027T143202Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:0
LOCATION:FunkyTown
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:REMINDER
TRIGGER;RELATED=START:-PT15M
END:VALARM
END:VEVENT
END:VCALENDAR

Hi,

Thanks for considering Aspose.

Currently time zone information cannot be added using Appointment.RequestAppointment() method. I have informed the developers about it and added it as a "Enhancement" in our bug tracking system (ID: 11363). We will get back to you when there is an update regarding adding timezone in appointment.

The issues you have found earlier (filed as NETWORKNET-11363) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.