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
846 views Asked by yoxhall At
1
There are 1 answers
Related Questions in EXCHANGE-SERVER
- Directing proofpoint to ms exchange
- Allowing any member of a dynamic group to send as from a shared mailbox
- In Exchange 2019 on-prem, how do I configure send connectors to disable DNS lookups?
- List calculating each archive folders in Exchange On-Prem
- Share Outlook calendars with all members of specific security group
- Create exchange appointment using ews-javascript-api
- Microsoft outlook Caught exception in remote runspace creation, The WinRM service cannot process the request Redirect location reported
- Set-MailboxAutoReplyConfiguration not recognized even after installing as admin
- How to get the mailbox statistics data for more than 70,000 shared mailboxes in bulk
- Rails 7 send mail via Microsoft Exchange SMTP using oauth2
- Get .msg Copy by Criteria 'PR_INTERNET_MESSAGE_ID'
- MS Graph (Outlook) List messages 'ReceivedDateTime GT' operation failing by 1 second
- EWS Operation Item.Copy fails with 'full_access_as_app' permission
- EWS EmailMessage Move failed
- Can there be multiple DKIM and SPF records on one domain (alongside Microsoft Exchange hosted email)?
Related Questions in MAPI
- Open an embedded msg attachment
- Conversation Index Child Block breakdown
- Outlook Conversation Index double reserved byte?
- Get .msg Copy by Criteria 'PR_INTERNET_MESSAGE_ID'
- VBA DASL Filters / PR_INTERNET_MESSAGE_ID Search
- What cause MAPI_E_TABLE_TOO_BIG in HrQueryAllRows method?
- red-flag mail not showing in todo folder of outlook
- Email Body Blank/Empty When Mail Is Sent from Draft
- Creating a MSG using MsgKit - how to use AddProperty-method?
- How to get the EntryID of a mailitem that is encrypted
- How to set PR_HTML where string contains Unicode characters
- Are some MAPI named properties known and thus always return the same Tag when using GetIDsFromNames with MAPI_CREATE?
- Outlook MAPI IConverterSession->MAPIToMIMEStm returns the different stream output with or without PR_BODY when converting the same MSG File To EML
- How to get Outlook Property Names using extended MAPI GetNamesFromIDs
- How to get the "mailbox of origin" of email
Related Questions in OUTLOOK-REDEMPTION
- Reading Outlook PidNameContentType with Redemption.MAPIUtils.HrGetOneProp
- Attachment Size Limitation in Redemption RDOMail
- Unable to cast COM object of type 'System.__ComObject' to interface type 'Redemption.RDOAppointmentItem'
- Outlook Redemption Error: System.ComponentModel.Win32Exception: The handle is invalid
- Powershell: "Interface not supported" ComException when setting RDOSession.MAPIObject
- Unable to Send Emails Using Redemption.SafeMailItem
- Is there a way to run NameSpace.SendAndReceive() from Redemption? Without opening the Outlook Object Model?
- 32 vs 64 bit Outlook with 32-bit application - different results
- Attempting to use Redemption RDORecurrencePattern to get GetOccurence by index for RDOAppointmentItem items
- Redemption Logon to MAPI / Exchange Server takes forever
- Outlook Redemption and safeMail hangs on exit
- Using Outlook Redemption, How do I get a list of Shared Calendars?
- Cannot get Redemption's RDOItems.Find API to work
- Use RDOJunkEmailOptions to remove blocked senders?
- Determine if an Outlook MailItem has been forwarded without triggering Outlook Object Model Guard
Related Questions in EXCHANGE-SERVER-2016
- Remove Permissions to Shared Mailboxes in Exchange 2016 for Multiple/all users who have access to that mailbox
- Enable mailbox in exchange server for an existing user in active directory via HTTP API
- Message trace, Message tracking for all Distribution Groups
- Getting FreeBusySuggestions in Exchange Server for 15 min meetingDuration
- EWS not returning GetRoomList - Exchange 2016 On-Prem
- Microsoft Exchange Server 2016(Console) error: Server Error in '/ecp' Application
- Can't connect to Exchange 2016 server via PowerShell from CentOS
- Where to find Authentication method used by an email client on Exchange 2016 onpremises?
- Error: The section VersionOverrides 1.0 of the manifest is not valid. A Child node of the node VersionOverrides named webapplicationinfo is not valid
- FindItems with query string returns a maximum of only 250 results EWS
- How can i find the permanent id of an email in EWS managed API?
- EWS FindItems returns only 250 items in Exchange 2016
- Error at Sending an email with attachments by ews - ServiceResponseException - The operation can't be performed because the item is out of date
- Access mailbox using MAPI or Outlook Redemption on Exchange 2016/2019
- Outlook Translator returns error when with on-prem exchange server
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?
Popular Tags
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)
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).