Quantcast
Channel: MFCMAPI Forum Rss Feed
Viewing all 399 articles
Browse latest View live

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

New Post: Inbox Rule for sent Email

$
0
0
Hi All,

I have Outlook 2013 & set up an Inbox Rule for Email to be forwarded when New Email comes.

I would like to ask that if I have lot of Inbox Rules and I don't want to check one by one. Is there a way that I can use MFCMAPI and find which rule was applied to particular Email ?

Best Regards,
Jatin

New Post: Help Restoring Outlook Calendar

$
0
0
I used MFCMAPI to delete my outlook default calendar because I accidentally uploaded a TON of events through a CSV import. My Outlook account is for work, so the delete didn't remove the calendar from the list, which is fine, but I need to still import CSV files by the calendar no longer shows in the list when I go to import. How do I restore the default calendar in full to Outlook?>

New Post: Convert MSG to EML: Error Code 0x800CCC1E

$
0
0
Hi,

I'm trying to convert a delivery report using Advanced > Import / Export > Convert MSG to EML but I only get the following error(s):

Error:
Code: 0x800CCC1E == 0x800CCC1E
Function lpConverter->MAPIToMIMEStm(lpMsg, lpMimeStm, ulConvertFlags)
File MapiMime.cpp
Line 113

Error:
Code: 0x800CCC1E == 0x800CCC1E
Function ExportIMessageToEML( pMessage, lpszEMLFile, ulConvertFlags, et, mst, ulWrapLines, lpAdrBook)
File MapiMime.cpp
Line 211

Error:
Code: 0x800CCC1E == 0x800CCC1E
Function ConvertMSGToEML( dlgFilePickerMSG.GetFileName(), dlgFilePickerEML.GetFileName(), ulConvertFlags, et, mst, ulWrapLines, lpAdrBook)
File MainDlg.cpp
Line 1758

Outlook Version:
Path: C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE
Version: 14.0.7167.5000
Lang: 0
64 bit: False

Any ideas?

Regards, Stefan

New Post: View Encryption Certificates with MFCMAPI

$
0
0
I just learned about MFCMAPI today and I am wondering if it can help me resolve an odd problem with email encryption.

I installed a valid email encryption certificate on a Windows 7 machine running Outlook 2013. For some reason, Outlook does not recognize the certificate and so does not allow it to be selected for email encryption. The same certificate works on another machine, so the certificate itself seems to be fine.

I have posted questions about this in Outlook and Exchange forums, the Office forum, and at the recommendation of a Microsoft Support Engineer, in the TechNet forum as well. Thus far, I have received few replies and not much in the way of helpful information. I found MFCMAPI today and wanted to find out if it could help.

Is MFCMAPI able to read certificate information, and if so where do I go within MFCMAPI to see the certificates?

Thanks in advance for any help that you can offer.

--Tom

P.S. If you happen to know someone with detailed knowledge about encryption issues and how Outlook 2013 handles encryption certificates, and if that person is willing to accept questions at a blog address or something, I would appreciate a referral.

New Post: ipm.document to ipm.note converter?

$
0
0
I'm trying to import tons of emails stored on Sharepoint on prem 2007 to our Veritas ev.vault cloud so we can turn off those servers. We've moved to SPO and O365. I opened the sharepoint list in Outlook 2013. Let everything download including headers. Exported to PST. That gives me a PST file with IPM.Document.Outlook.File.msg.15 Veritas is telling me that the messages in the PST need to be IPM.Note not IPM.document. Can MFCMAPI convert them for me? Or does anyone know of how I can convert them? Or should I have done this a different way?

New Post: Issue Moving Inbox Folder

$
0
0
One of my users managed to move his inbox beneath his calendar (he does not know how, he did it on his iPhone) and we're unable to move it back. Every time we try it generates the following error:

Error: CopyFolder failed.
Code: MAPI_E_NO_ACCESS == 0x80070005
Function (null)
File MsgStoreDlg.cpp
Line 562

I created other folders beneath the calendar and I can move that folder so clearly it's something specific to the inbox folder.

Any thoughts?

New Post: No Reminders folder

$
0
0
I just tried MCMAPI for the first time. I'm still on Outlook 2007, and my mailbox is on an Exchange server. Looks like a potentially useful tool, but I'm not seeing the Reminders folder at all. Ideas?

New Post: No Reminders folder

$
0
0
Starting Outlook with the /cleanreminders resolved my issue.

New Post: Error deleting reminders folder

$
0
0
Hi,

I was having some issuses with users where their reminders in outlook stopped popping up. Having checked everything else, I tried deleting the reminders folder via mfcmapi tools, and rebuilding via /resetfolders. Success! The reminders started popping up again for the affected users. This worked for two of the affected users. However, I have a few more with the same issue, all on the same exchange server, but now when I try to delte the reminders folder, i get the following error, and the folder is not deleted. Why am I not able to delete the folder?

Warning:
Code: MAPI_W_PARTIAL_COMPLETION == 0x00040680
Function lpParentFolder->DeleteFolder( lpItemEID->cb, (LPENTRYID)lpItemEID->lpb, lpProgress ? (ULONG_PTR)m_hWnd : NULL, lpProgress, ulFlags)
File MsgStoreDlg.cpp
Line 924

Any help would be greatly appreciated.

/Allan

New Post: MFCMAPI for Exchange 2016

$
0
0
Since MFCMAPI requires MAPI CDO which is no longer available for Exchange 2016 what is the replacement product to use with Exchange 2016?

New Post: MFCMAPI for Exchange 2016

$
0
0
Viper,

The September 2, 2015 build is working fine in my Exchange 2016 CU2 test environment with MapiOverHttp enabled or disabled.

John

New Post: How Conversation Index generate in every email

$
0
0
I need to pass conversation Index in email header and make chain of email,but my code in csharp if possible to send ?

Please help
generate new Conversation Index in csharp

like this : AcqvbpKt7QRrdlwaRBKmERImIT9IDg==

New Post: Viewing the connection protocol for an Outlook profile

$
0
0
Hi,

It would be nice to see sample code how to retrieve the connection status, especially the used protocol in MFC MAPI.
Outlook can show the connection status using "right click and control" on the icon in the tray bar.
I would like to verify the used protocol (RPC/TCP, RPC/HTTP or HTTP).
Currently if HTTP is used (MAPI over HTTP), not all MAPI functionality seems to work as expected, especially if used within a Wndows service (MAPIInitialize with MAPI_NT_SERVICE) and in uncached mode for the profile. Cached mode (as usually used for Office 365) works much more stable.

Thanks!
Niels

New Post: MAPI_E_INTERFACE_NOT_SUPPORTED == 0x80004002

$
0
0
As the title shows, I'm receiving an error (MAPI_E_INTERFACE_NOT_SUPPORTED == 0x80004002) when trying to export the AutoComplete cache.

I get 3 different dialogue boxes that all say that same error, and my only option is to click OK or X out of it.

When I close all of the boxes, and go to the destination folder where I had told it to export to, I notice I do have data in there.

I'm not sure if this will cause problems with the import of this file I just exported or not..but I wanted to check to see if there was anything I could do about this error message before I go and try this export method on a clients account.

I am using 64bit outlook to test this export method on..however the client uses 32bit.

Thanks!

New Post: Any way to change the order of accounts (including shared mailbox)?

$
0
0
Hi

I have access to a few shared mailbox (added automatically to my Outlook).

Is there a way to change the order in which they appear? They are currently shown in alphabetical order and would like to have one higher in the list because it is used more often.

I have checked MFCMAPI, I see the shared mailbox in the list but I just don't know which property to set.

New Post: Any way to change the order of accounts (including shared mailbox)?

$
0
0
Sometime, we forget the most obvious things! A simple drag-and-drop directly in Outlook can solve my issue

New Post: MAPI_E_INTERFACE_NOT_SUPPORTED == 0x80004002

$
0
0
Can you give me repro steps? I don't recall writing a routine specifically to export the autocomplete cache (and can't find one in the code either).
Viewing all 399 articles
Browse latest View live


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