Quantcast
Channel: MFCMAPI
Viewing all 1090 articles
Browse latest View live

New Post: importing a MFCMAPI profile

$
0
0
is there any way to export a MFCMAPI profile tweak it and add it to a new Windows logon or a new machine?

I think it would help to create a debug profile to use on different machines instead of typing all the required objects back in.

New Post: MAPIInitialize and Outlook 2016

$
0
0
Hoping to find a bit of insight here with a particular issue we have noticed.

In using the MFCMAPI application (September 2015 release, both 32bit and 64bit) and trying to connect/logon to Outlook 2016 (32bit and 64bit), we are seeing an error in the MAPIInitialize function:

MAPIInitialize failed with error 0x80004005 == MAPI_E_CALL_FAILED.

Here are some known causes for this.
1 - No version of Extended MAPI is installed. Either Outlook or MAPICDO must be installed.
See http://www.microsoft.com/downloads/details.aspx?familyid=E17E7F31-079A-43A9-BFF2-0A110307611E to install MAPICDO.
2 - The 64 bit version of Outlook 2010 is installed. The 64 bit version of Outlook 2010 requires the 64 bit build of MFCMAPI.
See http://mfcmapi.codeplex.com for the latest 64 bit build of MFCMAPI.
3 - Windows Mail or Outlook Express (which do not implement Extended MAPI) is registered as the Default Mail Client.
See http://msdn.microsoft.com/en-gb/library/dd162409.aspx for information on setting the Default Mail Client.
In file MapiObjects.cpp
On line 120

This particular error was generated when using Session > MAPI Initialization > MAPIInitialize... or Session > Logon... .

Is this an error that others have seen? Any insight would be greatly appreciated.

Thanks!
CT

New Post: MAPIInitialize and Outlook 2016

$
0
0
The only time I've seen this is when I accidently had a old version of the c-runtime on my path. So look for msvcr*.dll being loaded from odd directories and see if removing them allows you to load.

New Post: Removing Corrupt Appointments Outlook 2013/Exchange 2010

$
0
0
Hey guys, hope this is ok to post here. I have one user who has some older appointments that cannot be deleted from the deleted items folder. It is only this user (that's reported at least) and the issue exists if logged onto OWA. In cache mode the items aren't there, so it seems to definitely be a server side issue.

Running MFCMAPI on the profile the items exist in the deleted items folder and the calendar (because they're appointments) but all of them have the same errors and will not allow MFCMAPI to delete them. It seems unable to find Content Filter, Depth, Content Unread, Content Count, Conversation ID, and Sent Names property tables. Anything I do produces errors (attached). I believe all these are the same.

Image
Image
Image

I've searched and have done everything I can imagine to clear these but just stuck. Appreciate this little tool though, extremely handy app!

New Post: Missing Quick Steps in IMAP PST Outlook 2010

$
0
0
I am new here. I have a problem and I hope someone can help me.
I wanted to copy my quick steps and was happy to find a link which
describes a workaround to do that.
http://www.msoutlook.info/question/backup-and-restore-quick-steps
Unfortunately I do not find the referred folder "Quicksteps". After opening
MFCMAPI, I get a German menu - maybe that is the difference to the
workaround. I can see my postbox and my folder structure but not
the Quick Steps folder which should be under the root container in the
Top level folder.
Can someone help me, where I can find the quick steps folder in
my IMAP PST? Thank you in advance for your help.

New Post: Programmatically create profile in Outlook 2016

New Post: mfcmapi using Exchange 2016?

$
0
0
Hello,

I read that Exchange 2016 does not support CDO-MAPI. But if I am using an Outlook-2013-MAPI-profile, will this still work with mfcmapi?

A first connection test is successful, but if I want to open other mailboxes via GAL, I get
Error: 
Code: MAPI_E_CALL_FAILED == 0x80004005
Function OpenOtherUsersMailboxFromGal( lpMAPISession, lpAddrBook, &lpMailboxMDB)
File MainDlg.cpp
Line 727
ExtendedRights "Receive-As" were set (it worked on Exchange 2013).

Now I am not sure if this is still a misconfiguration or If Exchange 2016 does not support this feature.

Greetings from George2015

New Post: mfcmapi using Exchange 2016?

$
0
0
Hi George,

Is MAPI over HTTP enabled in the Exchange Organisation? In that case it is currently not possible to open other user's mailboxes, This seems to be a known issue for the Outlook 2013 MAPI. Try Outlook 2016 MAPI, this worked for me (without using MFC MAPI, just in code). With MFC MAPI I currently get the error message

Error:
Code: MAPI_E_NOT_FOUND == 0x8004010F
Function HrGetOneProp(pGlobalProfSect, PR_PROFILE_HOME_SERVER, &lpServerName)
File MAPIStoreFunctions.cpp
Line 340

You could also disable MAPI over HTTP and use RPC over HTTP again for the MAPI implementation, see e.g https://technet.microsoft.com/en-us/library/dn635177(v=exchg.150).aspx.

The outlook connections status (RPC/HTTP, HTTP, RPC/TCP) can also be shown, see e.g. here
https://technet.microsoft.com/en-us/library/bb123650(v=exchg.65).aspx

-- Niels

New Post: mfcmapi using Exchange 2016?

$
0
0
Hi Niels,

the protocol Outlook used on my system was "HTTP". After
Set-OrganizationConfig -MapiHttpEnabled $false
and waiting for a while I started mfcmapi and I was able to open other mailboxes via GAL. :-) Running Outlook 2016 was not the solution for me, I removed it and re-installed Outlook 2013 SP1. It now uses RPC/HTTP.

Thanks for your help!

Greetings,
George

Created Unassigned: Unable to open other mailboxes with outlook 2016 [17566]

$
0
0
I upgraded to Outlook 2016 and since them I'm unable to open another mailboxes from either options. I get bellow three errors.

0x18a8 06:48:16.950PM 10-29-2015 0x00000040: Error:
Code: MAPI_E_NOT_FOUND == 0x8004010F
Function HrGetOneProp(pGlobalProfSect, PR_PROFILE_HOME_SERVER, &lpServerName)
File MAPIStoreFunctions.cpp
Line 340
0x18a8 06:48:18.961PM 10-29-2015 0x00000001: CheckStringProp: lpProp is NULL
0x18a8 06:48:18.963PM 10-29-2015 0x00000040: Error:
Code: MAPI_E_NOT_FOUND == 0x8004010F
Function GetServerName(lpMAPISession, &szServerName)
File MAPIStoreFunctions.cpp
Line 758
0x18a8 06:48:19.295PM 10-29-2015 0x00000040: Error:
Code: MAPI_E_NOT_FOUND == 0x8004010F
Function OpenOtherUsersMailboxFromGal( lpMAPISession, lpAddrBook, &lpMailboxMDB)
File MainDlg.cpp
Line 727

New Post: MFCMAPI integration to Powershell

$
0
0
Inegration is probably the wrong term...

Basically we have a number of users who have and incorrect entry in their Receive Folder Table causing calendar invites to never show in their inbox. We can easily fix with mfcmapi and removing that but i'd like to know if there's a way to proactively check if this effects people rather than waiting for them to call the support desk. We have about 70k mailboxes. Not sure if this can be called and used on remote mailboxes via powershell or .net or something or if it truly needs to be ran on a profile by profile basis... any suggestions would be helpful...

New Post: With Outlook 2016, calling MapiInitialize() disallows writing to HKEY_LOCAL_MACHINE until the program exits

$
0
0
I first noticed this in our own app, but took awhile to figure out root cause was that SetValue calls to registry were not really setting values (and no errors or exceptions returned).

So finally made a slight mod to MFCMAPI to confirm problem. In particular
  • Change the following 3 lines from HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE:
    C:\SrcRef\MfcMapi\Registry.cpp(225): HKEY_LOCAL_MACHINE
    C:\SrcRef\MfcMapi\Registry.cpp(341): HKEY_LOCAL_MACHINE
    C:\SrcRef\MfcMapi\Registry.cpp(350): HKEY_LOCAL_MACHINE
  • Build and run MFCMAPI in admin mode
  • Invoke the simple MapiInitialize... menu
  • Try to change any of the MFCMAPI options, and they are not set into the registry

New Post: Outlook 2010, "Read Receipt" msg stuck in outbox

$
0
0
Hi,
Have a message (pure text message, w/o any attachment) stuck in outlook (using outlook 2010, 32bit, Windows 7).
When trying to send out messages, all messages will send out except the one problematic message.
Then, will attempt to send the problematic one but will close itself and restart the program.
Tried already several delete methods;
  1. Off line method >> it didn't delete
  2. Bill's Method >> found the relevant message but it didn't delete
  3. Then tried the MFCMAPI (my message is a "Read Receipts" message)
    Found easily the message under the "Root Container", applied 'abort submit', then 'delete item', etc.
    (followed instructions: http://www.howto-outlook.com/howto/deletereadreceipt.htm )
    Tried to delete, but it didn't delete...
Note: An action that was done shortly before composing this problematic email was obtaining a digital ID.
I'm not sure if the 'stuck problem' is related at all to this action.

I would appreciate any help trying to delete the stubborn (False) message.
Thank you in advance.
GD

New Post: Error E_NOTIMPL (0x80004001) when deleting Schedule+EMS rule

$
0
0
Hi,
I'm trying to delete delegate rule as users receive NDR due to deleted delegate account.
From manager profile I find the rule but when trying to delete it return error like:

Code: E_NOTIMPL == 0x80004001
Fucntion m_IpPropBag -->DeleteProp(ulpropTag)
File SingleMAPIPropListCtrlcpp
Line 1214

Don't find any answer on google

Thanks for your help
Gil

New Post: Look into AdminAuditLogs

$
0
0
Hello!
Is there any way to view content of the AdminAuditLogs folder under the Recoverable Items folder?

New Post: Remove Private/Privacy Flag For Multiple Emails

$
0
0
On a daily basis, I receive emails as part of a distribution list, marked as "Private". When marked as Private, I cannot edit the Subject Line, which is something I need to be able to do.

I have been removing the Private flag by changing properties from individual emails. Once the Private flag is removed, I can do what I need to with the email, however, I would like to be able to apply the flag removal to multiple emails. This would save me a lot of time.

To remove Private Flag in received Outlook email, I follow the steps shown below. If anyone can let me know of a faster way to do this, and apply to multiple emails, that would be greatly appreciated.

-Launch mfcmapi.exe
-Quick Start > Open Folder > Inbox
-Click OK to choose existing profile name
-Go to Folder > View > Hierarchy
-Right-click Inbox, then select Open Contents Table
-Locate Column: PR_SENSITIVITY, PidTagSensitivity, ptagSensitivity
-Locate row that has an email marked as Private. Should read: "2 (SENSITIVITY_PRIVATE)" and select one
-Go to bottom portion of split window, in Property Name(s) column
-Find "PR_SENSITIVITY, PidTagSensitivity, ptagSensitivity"
-Change "Value" from 2 (Flags: SENSITIVITY_PRIVATE) to 0 (Flags: SENSITIVITY_NONE)

New Post: Issues with Hotmail & Outlook using Exchange ActiveSync

$
0
0
I seem to have an ongoing problem with my Hotmail account in Outlook, which uses Exchange ActiveSync. I'll rebuild my profile, but eventually it will stop synchronizing. I'll make a bunch of changes in Outlook (moving emails to folders or deleting email) and they will not sync up to the server. When I repair the account, it fails on Establishing a Network Connection. Will this tool help me troubleshoot this issue at all?

Reviewed: September 2015 Release (Feb 29, 2016)

$
0
0
Rated 5 Stars (out of 5) - Great tool. Used it to hide the RSS folder. Very easy to use and fantastic that the source code is available for it. Thanks!

New Post: how to call 2003 version api to load auto complete stream?

$
0
0
HI,

I know in 2007 or later, we can use below code to load auto complete stream:

Microsoft.Office.Interop.Outlook.Application oApp = Globals.ThisAddIn.Application;
Microsoft.Office.Interop.Outlook.MAPIFolder inboxFolder = oApp.GetNamespace("MAPI").GetDefaultFolder(OlDefaultFolders.olFolderInbox);
StorageItem storage = inboxFolder.GetStorage("IPM.Configuration.Autocomplete", OlStorageIdentifierType.olIdentifyByMessageClass);
PropertyAccessor propertyAcc = storage.PropertyAccessor;
byte[] got = propertyAcc.GetProperty("http://schemas.microsoft.com/mapi/proptag/__0x7C090102__");


But for 2003, which mapi can we call, could you help and give a code sample?

Thanks in advance.

-afei

New Post: Error E_NOTIMPL (0x80004001) when deleting Schedule+EMS rule

Viewing all 1090 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>