We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Sticky Notes with HTML in body


Seems that HTML content of the sticky note body is not rendered and displayed with all html tags.


Thank you for contacting Aspose support team.

We have tried to reproduce this scenario using following sample code. It is observed that when output file is opened, it shows sticky note without the text formatting. However if we load this MSG file using Aspose.Email for .NET 17.6.0, it retains the html body. For further investigation, could you please send us a sample sticky note file having such text formatting like bold, underlined, heading etc. We will analyze this sample message and provide assistance accordingly.

string dataDir = @"";<o:p></o:p>

// Create MapiNote and set Properties

MapiNote note3 = new MapiNote();

note3.Subject = "Blue color note";

//note3.Body = "This is a blue color note";

note3.Color = NoteColor.Blue;

note3.Height = 500;

note3.Width = 500;


This is a blue color note

", BodyContentType.Html);

note3.Save(dataDir + "MapiNote_out.msg", NoteSaveFormat.Msg);


Actually I was talking about notes in the PST file and not MSG.



The behavior is similar in case of MSG file and PST as the same MSG gets added to the PST. Could you please share a sample MSG file generated with Outlook that has such formatting? We need it for further investigation at our end and are unable to generate one such ourselves using MS Oultook.

Seems that it’s working, false alarm :slight_smile: Thanks and sorry.


Thank you for sharing your feedback and please feel free to write to us if you have any further query related tot he API.