Version 6.x.x Source

Class SMTPServer

__init__ (self, login=None, password=None, server=None, port=None, use_ssl=None, append_to=None)

No docs


setup_email_account (self, append_to=None)

No docs



frappe.email.smtp._get_email_account (filters)

No docs


frappe.email.smtp.get_default_outgoing_email_account (raise_exception_not_set=True)

No docs


frappe.email.smtp.get_outgoing_email_account (raise_exception_not_set=True, append_to=None)

Returns outgoing email account based on append_to or the default outgoing account. If default outgoing account is not found, it will try getting settings from site_config.json.


frappe.email.smtp.send (email, append_to=None)

send the message or add it to Outbox Email