microsoft / microsoft/mfcmapi

MFCMapi doesn't delete stuck email, gives warning and does nothing

Open
#563 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
978
Forks
170
Avg merge
1d 3h
Merged PRs (30d)
5

Description

Here's the warning:

Warning:
Code: MAPI_W_PARTIAL_COMPLETION == 0x00040680
Function m_lpFolder->DeleteMessages( lpEIDs, lpProgress ? reinterpret_cast<ULONG_PTR>(m_hWnd) : NULL, lpProgress, ulFlag)
File D:\a\1\s\UI\Dialogs\ContentsTable\FolderDlg.cpp
Line 676

Version: MFCMAPI August 2022 (22.0.22216.01)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in UI/Dialogs/ContentsTable/FolderDlg.cpp at the DeleteMessages call reported on line 676, and reproduce the warning with the MFCMAPI August 2022 build if possible. Trace how MAPI_W_PARTIAL_COMPLETION is handled and identify the expected behavior for a stuck email. Done means the message is deleted or the failure is reported with actionable handling, backed by a regression test if the repository provides one.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.