Version 6.6.5 Source

Class Email

Wrapper for an email.

__init__ (self, content)

Parses headers, content, attachments from given raw message.

Parameters:


get_attachment (self, part, charset)

No docs


get_charset (self, part)

Detect chartset.


get_payload (self, part, charset)

No docs


get_thread_id (self)

Extract thread ID from []


parse (self)

Walk and process multi-part email.


process_part (self, part)

Parse email part and set it to text_content, html_content or attachments.


save_attachments_in_doc (self, doc)

Save email attachments in given document.


set_content_and_type (self)

No docs


set_subject (self)

Parse and decode Subject header.



Class EmailSizeExceededError

Inherits from frappe.exceptions.ValidationError


Class EmailTimeoutError

Inherits from frappe.exceptions.ValidationError


Class LoginLimitExceeded

Inherits from frappe.exceptions.ValidationError


Class POP3Server

Wrapper for POP server to pull emails.

__init__ (self, args=None)

No docs


check_mails (self)

No docs


connect (self)

Connect to Email Account.


get_messages (self)

Returns new email messages in a list.


has_login_limit_exceeded (self, e)

No docs


is_temporary_system_problem (self, e)

No docs


make_error_msg (self, msg_num, incoming_mail)

No docs


process_message (self, mail)

No docs


retrieve_message (self, pop_meta, msg_num)

No docs


setup (self, args=None)

No docs


validate_pop (self, pop_meta)

No docs



Class Timed_POP3

Inherits from frappe.email.receive.TimerMixin, poplib.POP3

__init__ (self)

No docs


_getline (self)

No docs


quit (self)

No docs



Class Timed_POP3_SSL

Inherits from frappe.email.receive.TimerMixin, poplib.POP3_SSL

__init__ (self)

No docs


_getline (self)

No docs


quit (self)

No docs



Class TimerMixin

Inherits from __builtin__.object

__init__ (self)

No docs


_getline (self)

No docs


quit (self)

No docs



Class TotalSizeExceededError

Inherits from frappe.exceptions.ValidationError