I am trying to download attachments from outlook in R But getting an error

outlook_app <- COMCreate("Outlook.Application")
search <- outlook_app$AdvancedSearch(
"urn:schemas:httpmail:subject = 'GG'"


results <- search$Results()

results$Item(1)$ReceivedTime() # Received time of first search result
as.Date("1899-12-30") + floor(results$Item(1)$ReceivedTime())

Error :-

No support for InterfaceSupportsErrorInfo
checkErrorInfo -2147352567

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.