Methods¶
Summary¶
method |
class parent |
truncated documentation |
---|---|---|
BufferFilesWriting |
destructor, check everything was flushed |
|
MailBoxMock |
||
MailBoxImap |
||
BufferFilesWriting |
constructor |
|
EmailMessageListRenderer |
||
EmailMessageRenderer |
Defines a template based on Jinja2. |
|
Renderer |
constructor, defines a template based on Jinja2 |
|
BufferFilesWriting |
return the number of buffered files |
|
EmailMessage |
usual |
|
EmailMessage |
usual |
|
EmailMessage |
converts the mail into a binary string |
|
EmailMessage |
Converts the mail into a string. |
|
EmailMessage |
decode a string encoded in the header |
|
EmailMessage |
define a default filename (no extension) |
|
EmailMessage |
Dumps a message using a call such as |
|
EmailMessage |
Dumps the mail into a folder using HTML format. If the destination files already exists, it skips it. If … |
|
EmailMessage |
enumerate the attachments as 4-uple (filename, content, message_id, content_id) |
|
MailBoxMock |
enumerate all mails in a folder |
|
MailBoxImap |
Enumerates all mails in folder folder. |
|
MailBoxMock |
enumerates all mails in folder folder from a user or sent to a user |
|
MailBoxImap |
Enumerates all mails in folder folder from a user or sent to a user. |
|
MailBoxMock |
enumerates all mails in folder folder with a subject verifying a regular expression |
|
MailBoxImap |
Enumerates all mails in folder folder with a subject verifying a regular expression. |
|
BufferFilesWriting |
tells if a file was already written |
|
BufferFilesWriting |
flush a file (actually write it) and make it disappear from the list of buffered files, if the folder does not exists, … |
|
Renderer |
flushes all files |
|
MailBoxMock |
returns the list of folder of the mail box |
|
MailBoxImap |
Returns the list of folder of the mail box. |
|
EmailMessage |
returns all the charsets |
|
EmailMessage |
return a datetime object for the field Date |
|
EmailMessage |
return the date into a string |
|
EmailMessage |
get a field and cleans it |
|
EmailMessage |
returns a tuple (label, email address) or a list of groups from the regular expression |
|
EmailMessage |
return a string for the receivers |
|
EmailMessage |
return the sender name of an email (if available) |
|
EmailMessage |
return the number of attachments |
|
EmailMessage |
return the receivers |
|
EmailMessage |
return a string for the receivers |
|
BufferFilesWriting |
returns the list of flushed and opened files, does not preserved order |
|
MailBoxMock |
login (nothing to do here) |
|
MailBoxImap |
login |
|
MailBoxMock |
logout (nothing to do here) |
|
MailBoxImap |
logout |
|
BufferFilesWriting |
open a file and returns a buffer |
|
EmailMessageRenderer |
replaces link to images included in the mail body |
|
EmailMessageRenderer |
produces a table with the values of some fields of the message |
|
BufferFilesWriting |
return the content of file (binary format) |
|
MailBoxMock |
extract a mail from a file |
|
EmailMessageListRenderer |
Renders a mail. |
|
EmailMessageRenderer |
Renders a mail. |
|
Renderer |
render a mail |
|
EmailMessage |
Returns all fields for an emails as a dictionary |
|
EmailMessageListRenderer |
Writes a list of mails in a folder and writes a summary. |
|
EmailMessageRenderer |
Writes a mail, the function assumes the attachments were already dumped. |
|
Renderer |
writes a mail, the function assumes the attachments were already dumped |