c# - Rewrite the RecievedTime property of a Outlook mailitem -


In my company we use an email client separately, then Outlook. When we copy our conversations into the Exchange IP address, the Received Time Property is set to the current date.

Is it possible to change this programmatic property? Currently I get this error that this property is only readable.

My current code:

  Private Zero This AdDin_startup (Object Sender, System.EventArgs e) {foreach (Follower map in the application. Session .Get default folder (Outlook) .lldfold folders.olfolder inbox) .forers) {if (map number = "some_name") continues; If (Messagebox.Show ("mes", "title", message box. Oak canal)! = Dialog result; OK; Foreign objects (objects in the map. Items) {try {string message = ""; Outlook.MailItemmail = (Outlook.MailItem) items; Message + = "Sent by: \" "+ Mail .seender name +" \ "\ n"; Message + = "Sent:" + Mail Centon.ToString () + "\ n"; Message + = "Received:" + Mail Receptive time Toasting (); MessageBox.Show (message); similarity. Recovered Time = Mail Centon; // property or indexer 'microsoft Office. Interop Autwock IMIITIM Receiver 'can not be assigned: it is read only) Catch (exception exception) {}}}}  

We have solved this problem by purchasing a program that migrates all the objects from one e-mail system to each other. This is called trend migration (program). Reads and then writes them back to the new system.

Hope it helps!


Comments