Email metadata missing
Opened this issue · 0 comments
twowheeler commented
Hi,
I've been running a script for the last year, that connects to an Outlook inbox and then searches for emails with a particular subject.
This script has been failing since Wednesday this week and it appears that the email metadata is missing.
The relevant code is:
library(RDCOMClient)
outApp <- COMCreate("Outlook.Application")
outStores <- outApp$Session()$Stores()
email <- outStores[[1]]$GetRootFolder()$folders("INBOX")$Items(1)
outStores[[1]]$GetRootFolder()$Name()
email$Subject()
The output from outStores[[1]]$GetRootFolder()$Name()
previously contained my email address, and the email$Subject()
contained the email subject.
These are now both NULL.
Does anyone have any idea as to what could have changed, or how to fix it?