From my application i want to send email with ICS event attachment to my customers. I have successfully send mail with .ics file. Now my customers want to display .ics event with some color. Is there any way to add color attribute into .ics file.Please refer my .ics file which was i send
BEGIN:VCALENDAR
PRODID:-//Events Calendar//iCal4j 1.0//EN
VERSION:2.0
CALSCALE:GREGORIAN
BEGIN:VEVENT
DTSTAMP:20131125T062336Z
DTSTART:20131125T143000
DTEND:20131125T150000
SUMMARY:Pro-Lakshman Pro-Single Lesson 30 mins
TZID:Asia/Kolkata
UID:20131125T062337Z-uidGen@Lakshmanan
ORGANIZER;ROLE=REQ-PARTICIPANT;CN=Lakshman:mailto:[email protected]
ATTENDEE;ROLE=REQ-PARTICIPANT;CN=Karthik:mailto:[email protected]
END:VEVENT
END:VCALENDAR
Outlook supports color-coding by allowing me to set up categories for my meetings and events. I can use the Categorize dropdown to select an existing category or create a new one. Adding a color to each category ensures my meetings and appointments are shaded consistently.
Change color for all events in a calendar:On the left under My calendars, point to the calendar. Click More. and select a color or click Add. to choose a custom color.
No. the iCalendar format does not include any color or styling cues.
It is possible. You can use the pre-defined Outlook categories to show the schedule in different colors. Usually Outlook uses category names like "Orange Category", or "Red Category".
So if you add this to your ICS event you can see it in an orange color:
CATEGORIES:Orange Category
Of course, it only works on MS Outlook clients.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With