Wrapper for an email.
Parses headers, content, attachments from given raw message.
Parameters:
content
- Raw message.get_attachment (self, part, charset)
No docs
Detect chartset.
get_payload (self, part, charset)
No docs
Extract thread ID from []
Walk and process multi-part email.
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.
No docs
Parse and decode Subject
header.
Wrapper for POP server to pull emails.
No docs
No docs
Connect to Email Account.
Connect to IMAP
No docs
Returns new email messages in a list.
Return list of new mails
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
No docs
retrieve_message (self, message_meta, msg_num=None)
No docs
No docs
validate_message_limits (self, message_meta)
No docs
Inherits from frappe.exceptions.ValidationError
Inherits from frappe.exceptions.ValidationError
Inherits from frappe.exceptions.ValidationError
Inherits from frappe.email.receive.TimerMixin, imaplib.IMAP4
Inherits from frappe.email.receive.TimerMixin, imaplib.IMAP4_SSL
Inherits from frappe.email.receive.TimerMixin, poplib.POP3
Inherits from frappe.email.receive.TimerMixin, poplib.POP3_SSL
Inherits from __builtin__.object
Inherits from frappe.exceptions.ValidationError