Maildir and IMF mixture for doing some easy managing on mails Maildir.
- author
- - Gimenez, Christian
- license
- - GPLv3
- search_to_substr(+Maildir:term, +Type:term, +Substr:codes, -LstMails:list)
- True if LstMails are all the mails in the Maildir of type Type which in the "To" field has the given substring Substr.
- Arguments:
-
Maildir | - A path of the maildir (the main directory, not the cur, new, tmp, etc.). |
Type | - The type of maildir to search. See maildir_type/1. |
Substr | - The code string to search. |
LstMails | - A list terms. Each term is a mail path. |
- search_from_substr(+Maildir:term, +Type:term, +Substr:codes, -LstMails:list)
- True if LstMails are all the mails in the Maildir of type Type which in the "To" field has the given substring Substr.
- Arguments:
-
Maildir | - A path of the maildir (the main directory, not the cur, new, tmp, etc.). |
Type | - The type of maildir to search. See maildir_type/1. |
Substr | - The code string to search. |
LstMails | - A list terms. Each term is a mail path. |
- search_subject_substr(+Maildir:term, +Type:term, +Substr:codes, -LstMails:list)
- True if LstMails are all the mails in the Maildir of type Type which in the "Subject" field has the given substring Substr.
- Arguments:
-
Maildir | - A path of the maildir (the main directory, not the cur, new, tmp, etc.). |
Type | - The type of maildir to search. See maildir_type/1. |
Substr | - The code string to search. |
LstMails | - A list terms. Each term is a mail path. |
- search_unseen(+Maildir:term, +Type:term, -LstMails:list)
- True iff LstMails is all the unseen Mails.
- Arguments:
-
Maildir | - A path of the maildir (the main directory, not the cur, new, tmp, etc.). |
Type | - The type of maildir to search. See maildir_type/1. |
Substr | - The code string to search. |
LstMails | - A list terms. Each term is a mail path. |
- See also
- - is_seen/1.
- search_older_than(+Maildir:term, +Type:term, +Date:pred, -LstMails:list)
- True iff LstMails has all the mails dated before the provided Date.
- Arguments:
-
Maildir | - A path of the maildir (the main directory, not the cur, new, tmp, etc.). |
Type | - The type of maildir to search. See maildir_type/1. |
Date | - A date/9 predicate as defined in the date module. |
LstMails | - A list terms. Each term is a mail path. |
- See also
- - date_time_stamp/2.