Creating and Saving Outlook Notes in Python
Contents
[
Hide
]
Aspose.Email - Creating and Saving Outlook Notes
To Create and Save Outlook Notes using Aspose.Email Java for Python, Use following code.
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."
Download Running Code
Download Creating and Saving Outlook Notes (Aspose.Email) from any of the below mentioned social coding sites: