mailbox.MaildirMessage.get_subdir()

get_subdir()

Return either “new” (if the message should be stored in the new subdirectory) or “cur” (if the message should be stored in the cur subdirectory).

Note

A message is typically moved from new to cur after its mailbox has been accessed, whether or not the message is has been read. A message msg has been read if "S" in msg.get_flags() is True.

doc_python
2016-10-07 17:36:45
Comments
Leave a Comment

Please login to continue.