mfcmapi | MFCMAPI provides access to MAPI stores | Email library
kandi X-RAY | mfcmapi Summary
kandi X-RAY | mfcmapi Summary
MFCMAPI provides access to MAPI stores to facilitate investigation of Exchange and Outlook issues and to provide developers with a sample for MAPI development.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mfcmapi
mfcmapi Key Features
mfcmapi Examples and Code Snippets
Community Discussions
Trending Discussions on mfcmapi
QUESTION
What is the goal - Automatically program outlook profiles without client/user intervention. They should just click on Outlook and there email show up first time. No setup or configuration for the end user.
I work for a MSP that has about 70 clients. Each client uses Office E3 licenses for office apps but they use a third party company for there email hosting (intermedia/serverdata).
This specific difference makes it very hard to setup outlook profiles automatically using ZeroConfigExchange based on autodiscover and the smtp address of the AD user. The users are using Azure AD to connect to computers but there Azure AD has no clue what the smtp address is for the user because they don't have exchange online with microsoft but rather, they have exchange online with intermedia/serverdata.
So I have been try very hard to find any method to automatically create an outlook profile based on email address, server address, and credentials; so that when the user first gets there device, it will add the outlook profile to there account.
What I have looked into:
Trying the ZeroConfigExchange anyway - failed - It doesn't know where the smtp information is to create the profile.
Tried using PowerMapi's New-MapiProfile - failed - found out from here: https://superuser.com/questions/1141519/configuring-outlook-with-powershell that this will not work on office 2016 or office 365 as they change the credential setup
Tried using O365 configuration tool to make a customized version of office apps that include the email profile - failed - apparently they took this feature out of the newer O365 configuration tool. This used to be in the older versions from what my research says but its not there anymore: (I don't have enough rep points for pictures so here are links to my pictures) https://i.ibb.co/jftNVg2/help1.png https://i.ibb.co/8ggz5hg/help2.png
Tried using this powershell script I found from here:
...ANSWER
Answered 2021-Apr-11 at 18:07You can also try ProfMan library (disclaimer: I am its author) - it can be easily used to pre-create an Outlook profile for an Office 365 mailbox - see https://www.dimastr.com/redemption/profman_examples.htm#ROH_Profile_Outlook2016
QUESTION
I have a mailbox on Exchange 365 and when I share a picture from OneDrive using the Share as OneDrive Link, then the attachment is not returned using the latest EWS API. The list of attachments is simple empty although the HasAttachments property is true. The fallback for this type of attachment (ATTACH_BY_WEB_REF) should be a FileAttachment but the list is empty.
I did some tests with both MFCMApi and EWSEditor and here are the results:
- EWSEditor (in case when the file is shared as Onedrive Link ) is showing HasAttachment as true but when you want to load the table of attachments- it comes up empty.
- MFCMapi- I've achieved this by adding the O365 mailbox to my Outlook profile and opening it via MFCMapi. It is showing HasAttachments as true and is able to read the attachment and it's correct ATTACH_BY_WEB_REF type
- The Graph API correctly shows the attachment
For some reason EWS is unaware of this attachment type in some scenarios. I tried the latest EWS API and the one directly coming from Glen's github as well-with the same result (following this article: https://gsexdev.blogspot.com/2015/05/working-with-referance-attachments-in.html).This was an expected result though, as his unofficial EWS managed API is adding the implementation the ReferenceAttachment. Without this the fallback type should be FileAttachment, but in my scenario there is nothing returned.
An interesting fact is that the mentioned misbehavior is happening only for O365 account and in OWA. When the email is drag and dropped to Outlook 2016 (the O365 account was opened in Outlook and the email was drag and dropped to a different mailbox on 2016 or 2019 on-prem Exchange ) then it's repaired and I'm able to read the attachments using EWS
When I add another (but regular) file attachment, then EWS returns only the file attachment, not the one shared from OneDrive.
EDIT:
OWA isn't behaving quite the regular way attachment-wise. The fact about the email containing a ReferenceAttachment is shown only in the reading pane, the Item list is not showing a preview about it:
If I add a simple FileAttachment as well to the email, then only the FileAttachment is showing up in the item list:
Looks like that OWA is using a special logic finding out about the ReferenceAttachments- maybe is analyzing the HTML body of the email which is containing info about thatOwaReferenceAttachments, OwaReferenceAttachmentDescription, OwaReferenceAttachmentFileName2
EDIT 2:
I have uploaded the EWS Trace from an example where only one OneDrive link is in the email: http://s000.tinyupload.com/index.php?file_id=09396538471147694985
and with 2 attachments(onedrive + file attachment): http://s000.tinyupload.com/index.php?file_id=82527468863185263035
Any help is appreciated here...
...ANSWER
Answered 2021-Jan-22 at 01:10I can reproduce the problem against an Office 365 mailbox in OutlookSpy - IMessage shows two attachments (one png and the one the actual attachment) and GetItem in EWS only shows the png.
Sounds like an Exchange bug...
QUESTION
I'm using Outlook 2016 and I have two PST files listed below my default Exchange mailbox/store. In the Folder Pane, I can click and drag the PST mailbox/store above the other PST and default mailbox/store. For instance, if this is my current Folder Pane:
...ANSWER
Answered 2020-Feb-22 at 00:43The store order list is stored in the 0x04581102
multivalued binary property (PT_MV_BINARY
) in the IID_CAPONE_PROF
profile section - you can see it in OotlookSpy: click IMAPISession button on the OutlookSpy ribbon, click OpenProfileSection, select "{00020D0A-0000-0000-C000-000000000046} IID_CAPONE_PROF"
, click OK, scroll down to the 0x0458 property.
Keep in mind that the property is only present if the user explicitly reordered the list of stores. Otherwise the stores are ordered in the alphabetical order with the default store (no matter its name) being first (from what I can tell).
If using Redemption is an option, there are plans to expose this functionality in the next version of Redemption (5.23) through the RDOStore2.DisplayOrder
property and RDOStores.GetOrder
list. If you are interested, send an email to redemption (at) dimastr (dot) com.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mfcmapi
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page