I have been asked to do some research on how to access a user's mailbox and execute some basic tasks(copy emails, create folders, delete folders/emails, move emails from one folder to another based on a certain criteria) on Exchange Server 2016/2019 without Outlook.
I have seen that the recommended method is through EWS.
But EWS or "anything" over http is not an option as it would be too slow for what we're looking for.
So what i have looked at was MAPI. But i have seen a lot of posts indicating that MAPI beacame obsolete and won't work with Exchange 2016/2019.
So my question is: Can i perform these basic tasks mentioned above with MAPI or Outlook-Redemption on Exchange Server 2016/2019 without Outlook?
Access mailbox using MAPI or Outlook Redemption on Exchange 2016/2019
845 Views Asked by yoxhall At
1
There are 1 best solutions below
Related Questions in EXCHANGE-SERVER
- Create Exchange Message Items with EWS and mark them for deletion
- How to import meetings into office365 (EWS and Powershell?)
- EWS Service.FindItems() throws an exception when using SearchFilter.IsEqualTo
- Is there any way to get the list of available equipment in exchange server?
- How to download >1 MB Email attachment using EWS in C#
- Access Exchange mailbox information
- Programmatically determining whether or not Exchange is installed
- How to read from exchange server asynchronously using IMoniker and IStream Interface
- EWS Office 365 Impersonation not working
- calendar schedule request send to the user is accepted or not?
- Run Script to Append Subject and Body of Email
- Java - get contacts from outlook
- Create contacts in Exchange through EWS
- ActiveSync Co-existence failing
- perl office365 imap TLS access not working using IMAPClient
Related Questions in MAPI
- How to read from exchange server asynchronously using IMoniker and IStream Interface
- What actions in Outlook would cause PR_LAST_MODIFIER_NAME or PR_LAST_MODIFICATION_TIME to be modified?
- Packet Sniffing Outlook - > Exchange using MAPI
- How to update PR_DISPLAY_NAME for a meeting?
- MIME MAPI IConverterSession COMException on Activator.CreateInstance
- Fill the destination email field using MAPISendMail
- Is there a way to save MSG files from an Outlook PST file without changing the PR_LAST_MODIFICATION_TIME value?
- MAPI ConfigureMsgService fails with error code 80040115. How to solve this issue?
- How to access the MAPI Zarafa interface in PHP?
- Error while access local machine outlook emails from web application
- MAPI, HrQueryAllRows: Filter messages on subject
- get Manager from Outlook Contacts using VBA
- C++ MAPI: MAPILogonEx, how to open default mail inbox?
- Creating a MAPI Session in VBA
- Parallel and COM (Outlook MAPI) aqcuiring and releasing?
Related Questions in OUTLOOK-REDEMPTION
- GetSharedDefaultFolder() throws error MAPI_E_NOT_FOUND - redemption
- Catastrophic failure followed by MAPI_E_INTERFACE_NOT_SUPPORTED when trying to AddPstStore
- Outlook Error MAPI_E_OBJECT_CHANGED at Save() RDOEmail
- Is there a way to save MSG files from an Outlook PST file without changing the PR_LAST_MODIFICATION_TIME value?
- Get Storage from an out look folder in redemption
- Get active explorer in redemption
- Analyzing Outlook hang dump in my VSTO addin - Redemption
- RDOMail UserProperties not being created
- Is it possible to change the Outlook appointment organizer using Redemption?
- Getting _MailItem interface from IRDOMail
- Cannot send displayed email using redemption in c#
- RDOMail.Delete 2 throws MAPI_E_UNKNOW FLAG with outlook 2007
- Outlook add-in using redemption in 32 and 64 bit Outlook version
- Copy an encrypted message in outlook redemption without decrypting it
- Check if outlook is synchronizing changes to exchange server redemption
Related Questions in EXCHANGE-SERVER-2016
- Exchange 2016 SMTP Intermittent Error 5.7.57
- Enable mailbox in exchange server for an existing user in active directory via HTTP API
- Remove Permissions to Shared Mailboxes in Exchange 2016 for Multiple/all users who have access to that mailbox
- self signed certificate in certificate chain error when calling /ews/exchange.asmx
- Outlook Translator returns error when with on-prem exchange server
- Exchange Bulk import from .csv file to remove from Allow and then Allow list
- Assistance in building array of Exchange powershell output
- Exchange 2016/Hybrid Environment and MS Graph
- Installing AD and MSExchange 2016 in AWS EC2
- Exchange Transport Agent - Can't change DisplayName of message envelope
- Access mailbox using MAPI or Outlook Redemption on Exchange 2016/2019
- Error at Sending an email with attachments by ews - ServiceResponseException - The operation can't be performed because the item is out of date
- FindItems with query string returns a maximum of only 250 results EWS
- EWS connection forcibly closed by remote host
- Teams calendar requests causes Exchange Server 2016 to log unhandled exception (maxQueryStringLength)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The standalone version of MAPI went out of support a couple year ago and is no longer available for download from Microsoft. Even if it were available, it never supported MAPI-over-HTTP and OAuth2 authentication.
For EWS or Graph, your application must be registered on the server if OAuth2 authentication is to be used. Only Basic authentication (which is disabled by default for M365 mailboxes) will work out of the box without any setup on the server.
To use Redemption, you will need the MAPI system, which nowadays means Outlook must be installed. In that case, you can use an existing profile created for Outlook, nothing needs to be done on the server since Outlook is pre-authorized to connect to any Exchange mailbox as long as authorization is successful. In that case you can use either Outlook Object Model (which wraps both Extended MAPI and Outlook GUI, but can only be used on the main Outlook thread) or Redemption (which also wraps Extended MAPI, but can be used on secondary threads).