יצירת ושמירת פתקים של Outlook ב-Python

Aspose.Email - יצירת ושמירת פתקיות Outlook

כדי ליצור ולשמור פתקים של Outlook באמצעות Aspose.Email Java for Python, השתמש בקוד הבא.

קוד 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.\"

הורד קוד רץ

הורד את Creating and Saving Outlook Notes (Aspose.Email) מאתרי הקוד החברתי המופיעים למטה: