parsedmarc.mail.graph
🔗
MSGraphConnection
🔗
MSGraphConnection(
auth_method: str,
client_id: str,
client_secret: str,
token_file: str,
allow_unencrypted_storage: bool,
username: str | None = None,
password: str | None = None,
tenant_id: str | None = None,
mailbox: str | None = None,
)
Bases: MailboxConnection
MailboxConnection to a Microsoft account via the Micorsoft Graph API
PARAMETER | DESCRIPTION |
---|---|
auth_method |
TYPE:
|
mailbox |
TYPE:
|
client_id |
TYPE:
|
client_secret |
TYPE:
|
username |
TYPE:
|
password |
TYPE:
|
tenant_id |
TYPE:
|
token_file |
TYPE:
|
allow_unencrypted_storage |
TYPE:
|
fetch_messages
🔗
Returns a list of message UIDs in the specified folder