class documentation
Undocumented
Method | __init__ |
Undocumented |
Method | message |
Return the Envelope containing the Message identified by the specified uid within this mailing list. |
Method | message |
Undocumented |
Method | messages |
Return the envelopes containing the specified messages from this mailing list. |
Method | messages |
Return a dataframe containing metadata about the specified messages from this mailing list. |
Method | name |
Undocumented |
Method | num |
Undocumented |
Method | threads |
Yields the envelopes containing the first message in each thread in this mailing list. |
Method | uidvalidity |
Undocumented |
Method | update |
Update the local copy of this mailing list from the IMAP server. |
Instance Variable | _list |
Undocumented |
Instance Variable | _log |
Undocumented |
Instance Variable | _mail |
Undocumented |
Instance Variable | _uidvalidity |
Undocumented |
Return the Envelope containing the Message identified by the specified uid within this mailing list.
def messages(self, received_after:
str
= '1970-01-01T00:00:00', received_before: str
= '2038-01-19T03:14:07') -> Iterator[ Envelope]
:
¶
Return the envelopes containing the specified messages from this mailing list.
def messages_as_dataframe(self, received_after:
str
= '1970-01-01T00:00:00', received_before: str
= '2038-01-19T03:14:07') -> pd.DataFrame
:
¶
Return a dataframe containing metadata about the specified messages from this mailing list.
Update the local copy of this mailing list from the IMAP server.
This MUST be called at least once for each mailing list, else no messages will be retrieved from the server. That initial update may well be slow, since it downloads the entire set of messages from the list. Subsequent calls to `update()` only fetch the new messages and so are much faster.