在 Python 中创建和保存 Outlook 笔记

Aspose.Email - 创建和保存 Outlook 笔记

要使用 Aspose.Email Java for Python 创建并保存 Outlook 备注,请使用以下代码。

Python 代码

note = self.MapiNote()

note.setSubject(\"Blue color note\")

note.setBody(\"This is a blue color note\")

noteColor = self.NoteColor

note.setColor(noteColor.Blue)

note.setHeight(500)

note.setWidth(500)

noteSaveFormat = self.NoteSaveFormat

note.save(self.dataDir + \"MapiNote.msg\", noteSaveFormat.Msg)

print \"Created outlook note successfully.\"

下载运行代码

从以下任意提到的社交编码站点下载 创建和保存 Outlook 便笺 (Aspose.Email)