Ontwikkelaarsgids

Ontwikkelaarsgids

Deze sectie behandelt de kernfunctionaliteiten van aspose-email-foss 26.3 voor Python. De bibliotheek is georganiseerd in twee hoofdmodules:

  • aspose.email_foss.msg — High-level MSG‑bericht API (MapiMessage, MapiAttachment, MapiRecipient)
  • aspose.email_foss.cfb — Low-level CFB‑container API (CFBReader, CFBWriter, CFBDocument)

MSG-bestand I/O

De MapiMessage-klasse is het primaire toegangspunt. Laad, maak en sla MSG‑bestanden op:

from aspose.email_foss.msg import MapiMessage

# Load
msg = MapiMessage.from_file("input.msg")

# Create
msg = MapiMessage.create("Subject", "Body text")

# Save
msg.save("output.msg")

Ondersteunde formaten

FormaatImportExport
MSG (Outlook)JaJa
CFB (Compound File Binary)JaJa

MSG‑bestanden gebruiken CFB als hun containerformaat. De bibliotheek biedt zowel high‑level MSG‑toegang als low‑level CFB‑bewerkingen.


Onderwerpen

 Nederlands