omegahat / RDCOMClient

GNU General Public License v2.0
77 stars 34 forks source link

Email metadata missing #46

Open twowheeler opened 11 months ago

twowheeler commented 11 months ago

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?