M
MA
Dear,
Hope I haven't missed something simple.
I used Redemption to create messages, I have noticed in some messages
the time showing in Outlook client are not correct.
For example, the code below set the received message date to "04-
April-2003 7.17pm". However, in my Outlook client it shows "04-
April-2003 8.17pm". Interestingly, other messages in different and
same months shows correct date time.
Is it the ime zone issue? May be its Outlook issue, wondering why the
other messages shows correct time. Btw, I am in GMT +10 time zone.
<code>
RDOFolder rdoFolder = session.GetFolderFromPath(@"\\Test\Inbox");
RDOMail msg = rdoFolder.Items.Add("IPM.Note") as RDOMail;
msg.Subject = "Test Message";
RDORecipient recipient = msg.Recipients.Add("(e-mail address removed)");
msg.Sender = session.CurrentUser;
// Received time: 04-April-2003 7.17pm
msg.ReceivedTime = new DateTime(2003, 04, 04, 19, 17, 27, 0);
msg.Save();
</code>
Thanks for the advice.
Regards,
MA
Hope I haven't missed something simple.
I used Redemption to create messages, I have noticed in some messages
the time showing in Outlook client are not correct.
For example, the code below set the received message date to "04-
April-2003 7.17pm". However, in my Outlook client it shows "04-
April-2003 8.17pm". Interestingly, other messages in different and
same months shows correct date time.
Is it the ime zone issue? May be its Outlook issue, wondering why the
other messages shows correct time. Btw, I am in GMT +10 time zone.
<code>
RDOFolder rdoFolder = session.GetFolderFromPath(@"\\Test\Inbox");
RDOMail msg = rdoFolder.Items.Add("IPM.Note") as RDOMail;
msg.Subject = "Test Message";
RDORecipient recipient = msg.Recipients.Add("(e-mail address removed)");
msg.Sender = session.CurrentUser;
// Received time: 04-April-2003 7.17pm
msg.ReceivedTime = new DateTime(2003, 04, 04, 19, 17, 27, 0);
msg.Save();
</code>
Thanks for the advice.
Regards,
MA