I have a message that I can't open nor delete in the outbox (Outlook 2013). Tried opening Outlook in safe mode, Windows in safe mode, Outlook in Offline mode, etc etc. Outlook gives no message at all when I attempt to delete the message, and something like "Can't open message when it's being sent" when I try to open it. The message has a 106KB attachment if that matters.
So through trying countless things I found on Google, I found MFCMAPI. It opens my .pst file fine, and I can see the message I want to delete in MFCMAPI. But when I try to delete it, MFCMAPI returns:
Warning:
Code: MAPI_W_PARTIAL_COMPLETION == 0x00040680
Function lpSourceFolder->CopyMessages( lpEIDs, NULL, lpWasteFolder, lpProgress ? (ULONG_PTR)hWnd : NULL, lpProgress, ulCopyFlags)
File MAPIFunctions.cpp
Line 998
THEN:
Warning:
Code: MAPI_W_PARTIAL_COMPLETION == 0x00040680
Function DeleteToDeletedItems( lpMDB, (LPMAPIFOLDER) m_lpContainer, lpEIDs, m_hWnd)
File FolderDlg.cpp
Line 695
Yes, I ran MFCMAPI in Administrator mode. When I attempt to delete the attachment, I get:
Error:
Code: MAPI_E_NO_ACCESS == 0x80070005
Function DeleteAttachments( lpMessage, lpszAttName, m_hWnd)
File FolderDlg.cpp
Line 609
I've even tried to edit the message status to "0x00000100 MSGSTATUS_DRAFT", hoping that might un-stick it in Outlook, but MFCMAPI doesn't let me do that either.
MFCMAPI works fine if I delete a message from any other folder, but simply will not delete my "stuck" message from my Outbox.
Any suggestions?
Thanks,
Scott
So through trying countless things I found on Google, I found MFCMAPI. It opens my .pst file fine, and I can see the message I want to delete in MFCMAPI. But when I try to delete it, MFCMAPI returns:
Warning:
Code: MAPI_W_PARTIAL_COMPLETION == 0x00040680
Function lpSourceFolder->CopyMessages( lpEIDs, NULL, lpWasteFolder, lpProgress ? (ULONG_PTR)hWnd : NULL, lpProgress, ulCopyFlags)
File MAPIFunctions.cpp
Line 998
THEN:
Warning:
Code: MAPI_W_PARTIAL_COMPLETION == 0x00040680
Function DeleteToDeletedItems( lpMDB, (LPMAPIFOLDER) m_lpContainer, lpEIDs, m_hWnd)
File FolderDlg.cpp
Line 695
Yes, I ran MFCMAPI in Administrator mode. When I attempt to delete the attachment, I get:
Error:
Code: MAPI_E_NO_ACCESS == 0x80070005
Function DeleteAttachments( lpMessage, lpszAttName, m_hWnd)
File FolderDlg.cpp
Line 609
I've even tried to edit the message status to "0x00000100 MSGSTATUS_DRAFT", hoping that might un-stick it in Outlook, but MFCMAPI doesn't let me do that either.
MFCMAPI works fine if I delete a message from any other folder, but simply will not delete my "stuck" message from my Outbox.
Any suggestions?
Thanks,
Scott