Set theMsg to make new incoming message at (deleted items of theAccount) with properties Set theDt to time received of the message id msgID Set theSender to sender of the message id msgID Set theAccount to account of the message id msgID Tell application "/Applications/Microsoft Outlook.app" Set theFile to (POSIX file "/Users/Shared/test.eml") If you open the eml file in Outlook you will see the date and time from when sent from earlier time.Ĭopy and paste the following script into the editor: Wait for some time to go by like 5 minutes. Open the message and take note of the sent date/time.Įxport the new email to the /Users/Shared folder. Send the message, if used yourself the message should come into your inbox as a new message. Outlook 2011 keeps the original date and time.Ĭreate a simple email in Outlook with subject as test, body as test, and to address to yourself. When this file is opened and then replied to using the script the original sent date in the header that now shows in message body gets changed to the current date/time. What we are doing is creating a test message and saving as eml file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |