Equivalent of Office Automation Services with Exchange 365
-
Back in the old days, if I wanted to automate reading emails (including their attachments) doing some processing, then creating and sending new emails (including their attachments), I'd use COM with MAPI objects. This was fairly straight forward to do. I cannot find any similar way of automating sending / receiving emails for Exchange 365 / Office 365. E365 does not support MAPI. I've looked at 3rd party products but they do not seem to have the ability to do what I want. Is there any APIs / system calls / replacements for MAPI that I can use on an Enterprise version of Exchange? My plan B is to use MAPI or equivalent on a non-Exchange environment but that would involve using an external email service with a different domain name (not consistent with my organisation's look-and-feel). I apologise if this is the wrong forum.
-
Back in the old days, if I wanted to automate reading emails (including their attachments) doing some processing, then creating and sending new emails (including their attachments), I'd use COM with MAPI objects. This was fairly straight forward to do. I cannot find any similar way of automating sending / receiving emails for Exchange 365 / Office 365. E365 does not support MAPI. I've looked at 3rd party products but they do not seem to have the ability to do what I want. Is there any APIs / system calls / replacements for MAPI that I can use on an Enterprise version of Exchange? My plan B is to use MAPI or equivalent on a non-Exchange environment but that would involve using an external email service with a different domain name (not consistent with my organisation's look-and-feel). I apologise if this is the wrong forum.
I haven't used it, but I suspect the EWS Managed API is what you're after:
EWS Managed API, EWS, and web services in Exchange[^]
The EWS Managed API is the recommended interface for developing client applications that use EWS and Autodiscover to communicate with Exchange. You can use the EWS Managed API to work with email messages, calendar, task, and contact information, and allow programmatic access to mailboxes, public folders, and public folder mailboxes.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
I haven't used it, but I suspect the EWS Managed API is what you're after:
EWS Managed API, EWS, and web services in Exchange[^]
The EWS Managed API is the recommended interface for developing client applications that use EWS and Autodiscover to communicate with Exchange. You can use the EWS Managed API to work with email messages, calendar, task, and contact information, and allow programmatic access to mailboxes, public folders, and public folder mailboxes.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer