Skip to content

Commit

Permalink
Fixed IMAP BodyPart example
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed Nov 22, 2023
1 parent e1075a8 commit 108f9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/Examples/ImapBodyPartExamples.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public static void DownloadBodyAndAttachments (string baseDirectory)
}

// IMessageSummary.HtmlBody is a convenience property that finds the 'text/html' body part for us
bodyPart = item.TextBody;
bodyPart = item.HtmlBody;

if (bodyPart != null) {
// download the 'text/html' body part
Expand Down

0 comments on commit 108f9f3

Please sign in to comment.