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

Free Support Forum - aspose.com

DTSTAMP extracted from PST and saved as ICS file takes DTSTAMP from current timestamp

When extracting calendar from a PST file and saving it in calendar format “.ics”. The DTSTAMP is being changed to the current timestamp like we are creating the VEVENT for first-time. Is there any way to have this keep the original timestamp when the vevent was created when saved to the PST?

@dmckinney

Could you please attach the following resources here for testing:

  • Your input PST.
  • Please attach the output ICS file that shows the undesired behavior.
  • Please attach the expected output ICS file that shows the desired behavior.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

I have attached a standalone test application. I kept the initial output in the archive. The file in question is data/output/Sample/DCD Program Sample.ics.
Snipit:
BEGIN:VCALENDAR
VERSION:2.0
METHOD:REQUEST
PRODID:-//Aspose Ltd//iCalendar Builder (v3.0)//EN
BEGIN:VEVENT
DTSTAMP:20220502T115905Z
ATTENDEE;CN=“Sathala, Kaushik”;ROLE=REQ-PARTICIPANT:mailto:Kaushik.Sathala@
epiqglobal.com
ATTACH;ENCODING=BASE64;VALUE=BINARY;X-FILENAME=INC0995194.docx:UEsDBBQABgAI
AAAAIQDfpNJsWgEAACAFAAATAAgCW0NvbnRlbnRfVHlwZXNdLnhtbCCiBAIooAACAAAAAAAAAAA
Sample files were kept in the data/input directory.sandbox-aspose.zip (590.6 KB)

@dmckinney

We have logged this problem in our issue tracking system as EMAILJAVA-35048. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

@dmckinney

The DTSTAMP is not event creation datetime. If we save Calendar item from Outlook, we will get the same result as in the Aspose.Email API (DTSTAMP will be current timestamp).

Currently Aspose.Email does not support DTSTAMP modification. However, we will check the possibility of implementation of this feature and inform you via this forum thread.