Sign In  Sign Up Live-Chat

Reading Outlook .MSG Appointment files

Last post 07-17-2008, 11:10 AM by iret. 4 replies.
Sort Posts: Previous Next
  •  07-11-2008, 7:41 AM 135243

    Reading Outlook .MSG Appointment files

    Hi,

    I'm trying to programmatically retrieve certain fields within an Outlook Appointment, represented as a .MSG file.  I need to be able to obtain the appointment start and end date/times.  It seems the PR_START_DATE and PR_END_DATE properties are not consistently populated.  Here is the pattern I've observed:

    If I create an appointment or meeting request in Outlook (with defined start/end times), save it as a .MSG, then use Aspose.Network.Outlook to read the PR_START_DATE and PR_END_DATE, those properties will be null.  However, if someone else in my company sends me a meeting request (it automatically gets added to my Calendar), the PR_START_DATE and PR_END_DATE properties accurately contain the meeting start time and end time.  Is there any other property or way for me to retrieve the appointment start/end times consistently for every .MSG appointment file?

    Thanks in advance,

    Chad Ernst

    Filed under: .MSG;Outlook
     
  •  07-13-2008, 9:25 PM 135356 in reply to 135243

    Re: Reading Outlook .MSG Appointment files

    Hello,

    Could you attach the msg file samples that you are using? Therefore, we can debug into it.

    Thanks a lot


    Team Lead
    Aspose Guangzhou Team
    About Us

    Contact Us
     
  •  07-15-2008, 11:30 AM 135591 in reply to 135243

    Re: Reading Outlook .MSG Appointment files

    Attachment: Present (inaccessible)

    Per your request, I'm attaching a .MSG file that exhibits the behavior I explained in my previous post.  You'll need to change the extension to .MSG (I had to change to .gif so I could upload).

    Thanks in advance for looking into this.

    Chad

     
  •  07-17-2008, 7:34 AM 135893 in reply to 135591

    Re: Reading Outlook .MSG Appointment files

    Can you please let me know what you determine ASAP?  I need to know how to retrieve the start time and end time for appointments that I create and are on my Outlook calendar.

    Thanks.

     
  •  07-17-2008, 11:10 AM 135947 in reply to 135893

    Re: Reading Outlook .MSG Appointment files

    Attachment: Present (inaccessible)

    I dumped the properties in the message, please check it out.

    0x8006  Start PT_SYSTIME  
     
    0x8007  End PT_SYSTIME

    info:

    dt:PT_SYSTIME,tag:0x80070040,n:80070040,
    v:7/10/2008 8:00:00 PM

    dt:PT_SYSTIME,tag:0x80060040,n:80060040,
    v:7/10/2008 11:00:00 PM

    Thanks

     


    Team Lead
    Aspose Guangzhou Team
    About Us

    Contact Us
     
View as RSS news feed in XML