Skip to content

Latest commit

 

History

History
179 lines (87 loc) · 3.57 KB

PyIMessage.md

File metadata and controls

179 lines (87 loc) · 3.57 KB

PyIMessage

PyIMessage Object

An COM interface to MAPI

Derived from PyIMAPIProp

Methods

PyIMessage.CreateAttach

int, PyIAttach

= CreateAttach(interface, flags

) Creates an attachment

Parameters

  • interface : PyIID

    The interface to use, or None

  • flags : int

    Bitmask of flags that controls how the attachment is created.

Return Value

The result is a tuple of (attachmentNum, attachmentObject)

PyIMessage.DeleteAttach

DeleteAttach(attachmentNum, ulUIParam, interface, flags) Deletes an attachment

Parameters

  • attachmentNum : int

  • ulUIParam : int

  • interface : PyIMAPIProgress

    The interface to use, or None

  • flags : int

    Bitmask of flags that controls the display of a user interface.

PyIMessage.GetAttachmentTable

PyIMAPITable = GetAttachmentTable(flags) Returns the message's attachment table.

Parameters

  • flags : int

    Bitmask of flags that relate to the creation of the table.

PyIMessage.GetRecipientTable

PyIMAPITable = GetRecipientTable(flags) Returns the message's recipient table.

Parameters

  • flags : int

    Bitmask of flags that relate to the creation of the table.

PyIMessage.ModifyRecipients

ModifyRecipients(flags, mods) adds, deletes, or modifies message recipients.

Parameters

  • flags : int

    Bitmask of flags that controls the recipient changes. If zero is passed for the ulFlags parameter, ModifyRecipients replaces all existing recipients with the recipient list in the mods parameter.

  • mods : object

    The list of recipients.

PyIMessage.OpenAttach

PyIAttach

= OpenAttach(attachmentNum, interface

, flags

) Opens an attachment

Parameters

  • attachmentNum : int

  • interface : PyIID

    The interface to use, or None

  • flags : int

    Bitmask of flags that controls how the attachment is opened.

PyIMessage.SetReadFlag

SetReadFlag(flag) Sets the read flags for a message

Parameters

  • flag : int

    Bitmask of flags that controls the setting of a message's read flag - that is, the message's MSGFLAG_READ flag in its PR_MESSAGE_FLAGS property and the processing of read reports.

PyIMessage.SubmitMessage

SubmitMessage(flags) Saves all of the message's properties and marks the message as ready to be sent.

Parameters

  • flags : int

    Flags which specify how the message is submitted.