Skip to content

Commit

Permalink
release_notes.rst; fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ikvk committed Jun 21, 2019
1 parent 61632a9 commit 56d045e
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 5 deletions.
13 changes: 13 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,16 @@ Actions with folders:
for status_key, status_val in mailbox.folder.status('some_folder').items():
print(status_key, status_val)
Fetch params
^^^^^^^^^^^^

MailBox.fetch - Mail message generator

* *search_criteria*: message search criteria (see examples at ./doc/imap_search_criteria.txt)
* *limit*: limit on the number of read emails, useful for actions with a large number of messages, like "move"
* *miss_defect*: miss emails with defects
* *miss_no_uid*: miss emails without uid
* *mark_seen*: mark emails as seen on fetch

Reasons
-------
Expand All @@ -119,6 +129,9 @@ However, these libraries contain various shortcomings, such as:
- returned results are not ready to work with them
- no convenient tools for working with: directories, letters in directories

Release notes
-------------
`release_notes.rst <https://github.com/ikvk/imap_tools/blob/master/release_notes.rst>`_

Thanks to
---------
Expand Down
8 changes: 4 additions & 4 deletions imap_tools/mailbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ def fetch(self, search_criteria: str = 'ALL', limit: int = None,
miss_defect=True, miss_no_uid=True, mark_seen=True) -> iter:
"""
Mail message generator in current folder by search criteria
:param search_criteria: Message search criteria (see examples at ./doc/imap_search_criteria.txt)
:param limit: limit on the number of read emails
:param miss_defect: miss defect emails
:param miss_no_uid: miss emails witout uid
:param search_criteria: message search criteria (see examples at ./doc/imap_search_criteria.txt)
:param limit: limit number of read emails, useful for actions with a large number of messages, like "move"
:param miss_defect: miss emails with defects
:param miss_no_uid: miss emails without uid
:param mark_seen: mark emails as seen on fetch
:return generator: MailMessage
"""
Expand Down
18 changes: 17 additions & 1 deletion release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,20 @@
* new MailMessage.uid parse logic
* functools.lru_cache for MailMessage properties
* MailMessage.get_attachments() -> MailMessage.attachments
* fix setuptools
* fix setuptools

0.4.0
=====
* fix _decode_value for unknown encoding
* fix _parse_email_address

0.3.0
=====
* install_requires
* fix manifest
* add typing lib
* _uid_str works with generator

0.1.1
=====
* first version: May 31, 2017

0 comments on commit 56d045e

Please sign in to comment.