Skip to content

Commit 8c102e9

Browse files
committed
emsmdb: new blank messages should not have PR_DEF_POST_MSGCLASS
The property is meant for folders, not messages, and Exchange does not add it by default to folders either.
1 parent 2f8f2bb commit 8c102e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exch/emsmdb/message_object.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ errno_t message_object::init_message(bool fai, cpid_t new_cpid)
218218
return ENOMEM;
219219
*importance = IMPORTANCE_NORMAL;
220220
propvals.emplace_back(PR_IMPORTANCE, importance);
221-
propvals.emplace_back(PR_DEF_POST_MSGCLASS, "IPM.Note");
221+
propvals.emplace_back(PR_MESSAGE_CLASS, "IPM.Note");
222222

223223
auto sens = cu_alloc<uint32_t>();
224224
if (sens == nullptr)

0 commit comments

Comments
 (0)