Membuat dan Menyimpan Catatan Outlook di Python

Aspose.Email - Membuat dan Menyimpan Catatan Outlook

Untuk Membuat dan Menyimpan Catatan Outlook menggunakan Aspose.Email Java for Python, Gunakan kode berikut.

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

Unduh Kode yang Berjalan

Unduh Creating and Saving Outlook Notes (Aspose.Email) dari salah satu situs coding sosial yang disebutkan di bawah: