microsoft / mfcmapi

MFCMAPI
https://microsoft.github.io/mfcmapi/
MIT License
874 stars 157 forks source link

outlook 2013 / Windows 7 - mfcmapi tool cannot delete message stuck in outbox with 75mb attachment #28

Closed brendanruff closed 7 years ago

brendanruff commented 7 years ago

Hi

Looks like I have managed to outwit the tool. I attached 75mb's to a message and both unsubmit and delete attachment fail (see below). Any ideas ?

Thanks Brendan

Error: Code: MAPI_E_UNABLE_TO_ABORT == 0x80040114 Function lpMDB->AbortSubmit( lpMessageEID->cb, reinterpret_cast(lpMessageEID->lpb), NULL) File Dialogs\ContentsTable\FolderDlg.cpp Line 2045

stephenegriffin commented 7 years ago

All MAPI can do is ask that an operation be performed. It's up to the server (or perhaps the PST) to perform the operation. So this isn't a bug in MFCMAPI. If you're working online you might look into Remove-Message or Suspend-Message.

brendanruff commented 7 years ago

Hi Stephen

Thanks for the reply. OK so the problem is Outlook’s internal server. Any ideas how to get rid of the email manually by editing the pst file or some such ? Maybe Windows safe mode will fix it to prevent services running etc ? Something like this ?

The stuck email is a pain as it prevents emails going out unless you kill the Outlook process and restart in which case Outlook seems to process the emails in order of size starting with the smallest thankfully !!

Thanks

Brendan

From: Stephen Griffin [mailto:notifications@github.com] Sent: 14 February 2017 12:52 To: stephenegriffin/mfcmapi mfcmapi@noreply.github.com Cc: brendanruff brendan@ruffguide.com; Author author@noreply.github.com Subject: Re: [stephenegriffin/mfcmapi] outlook 2013 / Windows 7 - mfcmapi tool cannot delete message stuck in outbox with 75mb attachment (#28)

All MAPI can do is ask that an operation be performed. It's up to the server (or perhaps the PST) to perform the operation. So this isn't a bug in MFCMAPI. If you're working online you might look into Remove-Message https://technet.microsoft.com/en-us/library/aa996371(v=exchg.160).aspx or Suspend-Message https://technet.microsoft.com/en-us/library/aa997457(v=exchg.160).aspx .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stephenegriffin/mfcmapi/issues/28#issuecomment-279687750 , or mute the thread https://github.com/notifications/unsubscribe-auth/AIi0x6XEE4VLvmktWtAyi4Yb2bDM4278ks5rcZV1gaJpZM4L5R6z .

No virus found in this message. Checked by AVG - www.avg.com http://www.avg.com/email-signature Version: 2016.0.7998 / Virus Database: 4756/13953 - Release Date: 02/14/17