aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Create a iCalender meeting request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Create a iCalender meeting request" Watch "Create a iCalender meeting request" New topic
Author

Create a iCalender meeting request

Jeppe Sommer
Ranch Hand

Joined: Jan 07, 2004
Posts: 270
Hello,

I have been struggling on how to create an iCalender meeting request, that is accepted a by e-mail-clients as Outlook, hotmail, g-mail etc.

At this moment I have attached the iCalender file, but the e-mail-clients never treat the e-mail as a "real" meeting request asking the user to "accept", "deny" "wait reply" the request, but the iCalender file is attached in the e-mail

I guess it has something to do with the headers? Does anyone have experience on how to create a meeting request?

Thanks in advance?

Iain Emsley
Ranch Hand

Joined: Oct 11, 2007
Posts: 60
I have a similar problem, although only Outlook isn't seeing the headers all the time (posted in another thread here). Are you using ical4j to make the event as I've found that using that pretty much everything except Outlook will see the calendar event. Outlook appears to be the great bug bear in the arena.
Jeppe Sommer
Ranch Hand

Joined: Jan 07, 2004
Posts: 270
Hello,

No, I am not using iCal4j, but I know about this library, and will take a look at it againg to send meetig request.

Do you know which versions of Outlook that does and doesn´t support the meeting request created by iCal4j?

Jeppe
Iain Emsley
Ranch Hand

Joined: Oct 11, 2007
Posts: 60
Outlook 2003 apparently has basic functionality and 2007 has better acceptance of the iCal standard but it is still dodgy (which is where I'm having an issue). The real trick is forcing the headers, as you surmise, but I still haven't had managed to fully figure this out. ical4j deals with most of the issues that you'll come across. (Or at least it has for me).
Jeppe Sommer
Ranch Hand

Joined: Jan 07, 2004
Posts: 270
I thought about if it is possible to send a meeting request from Outlook, log the data stream an see how the headsers looks like? Is that possible? Do you know how?

Then I could try use the same headers in my code and see if that works.
Iain Emsley
Ranch Hand

Joined: Oct 11, 2007
Posts: 60
No idea how you'd capture those headers, TBH. I've been looking at invitations from Google as they appear to have cracked the problem. You could also download the .ics file from the Outlook calendar and compare it to yours and see if there are any differences.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Create a iCalender meeting request