An COM interface to MAPI
Derived from PyIMAPIProp
-
Sets the read flags for a message
-
Returns the message's attachment table.
-
Opens an attachment
-
Creates an attachment
-
Deletes an attachment
-
adds, deletes, or modifies message recipients.
-
Returns the message's recipient table.
-
Saves all of the message's properties and marks the message as ready to be sent.
PyIMessage.CreateAttach
int, PyIAttach
= CreateAttach(interface, flags
) Creates an attachment
-
interface : PyIID
The interface to use, or None
-
flags : int
Bitmask of flags that controls how the attachment is created.
The result is a tuple of (attachmentNum, attachmentObject)
PyIMessage.DeleteAttach
DeleteAttach(attachmentNum, ulUIParam, interface, flags) Deletes an attachment
-
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.
-
flags : int
Bitmask of flags that relate to the creation of the table.
PyIMessage.GetRecipientTable
PyIMAPITable = GetRecipientTable(flags) Returns the message's recipient table.
-
flags : int
Bitmask of flags that relate to the creation of the table.
PyIMessage.ModifyRecipients
ModifyRecipients(flags, mods) adds, deletes, or modifies message recipients.
-
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
-
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
-
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.
-
flags : int
Flags which specify how the message is submitted.