สร้างและบันทึกโน้ต Outlook ด้วย Python

Aspose.Email - การสร้างและบันทึกโน้ต Outlook

เพื่อสร้างและบันทึก Outlook Notes โดยใช้ Aspose.Email Java for Python, ใช้โค้ดต่อไปนี้.

Python Code

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.\"

ดาวน์โหลดโค้ดที่ทำงาน

ดาวน์โหลด Creating and Saving Outlook Notes (Aspose.Email) จากไซต์โซเชียลโค้ดใดก็ได้ที่ระบุด้านล่าง: