Skip to content

Commit

Permalink
fix(mail): handle empty "Mail.Note" in ms-tnef body part
Browse files Browse the repository at this point in the history
Fixes #5388
  • Loading branch information
cgx committed Jan 7, 2022
1 parent 81c1997 commit b0c5adf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SoObjects/Mailer/SOGoTNEFMailBodyPart.m
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ - (void) decodeBLOB
{
if (tnef.subject.size > 0)
{
data = nil;
filedata = MAPIFindProperty(&(tnef.MapiProperties), PROP_TAG(PT_BINARY, PR_BODY_HTML));
if (filedata != MAPI_UNDEFINED)
{
Expand Down

0 comments on commit b0c5adf

Please sign in to comment.