I've been trying to retrieve some of my e-mails in order to have them as data in R. In case it is needed, it is on a Microsoft Exchange Server.
require(RDCOMClient)
folderName = 'ElastAlerts'
#creating the outlook object
OutApp <- COMCreate('Outlook.Application')
outlookNameSpace <- OutApp$GetNameSpace("MAPI")
folder <- outlookNameSpace$Folders(1)$Folders(folderName)
But the final line shows me the following error:
<checkErrorInfo> 80020009
No support for InterfaceSupportsErrorInfo
checkErrorInfo -2147352567
Error: Exception occurred
Thank you.