• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to access the calendar using Javamail

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I am trying to access the calendar folder using the javamail API.
I am using IMAP and I am able to get my mail from the inbox, in a Message[].
The only way I can get some partial info about the calendar folder is by
calling store.getFolder("Calendar"). But the problem with this is that I get my appointments in a Message[], as if they were e-mails.This way I am able to get info such as the subject but not about the start date, and end dates.
Basically the most important thing besides the Subject(which I can get)
are the start/end dates of the appointment but I am not able to get the information.
The thing I tried were:
- get all headers from the appointment(where the appointment is a Message class)
- get all system and user flags
The result is that I am still not able to get the dates.
Is there a way?

Thanks , Alex
 
reply
    Bookmark Topic Watch Topic
  • New Topic