cc1
v2.1
CC1 source code docs
|
Functions | |
def | email_error |
Decorator for catching exception with sending emails' error. | |
def | render_from_template_to_string |
def | send |
def | send_activation_confirmation_email |
def | send_activation_email |
def | send_admin_registration_notification |
def | send_block_email |
def | send_reset_password_mail |
def src.clm.utils.mail.email_error | ( | f | ) |
def src.clm.utils.mail.render_from_template_to_string | ( | template_filename, | |
ctx_dict = {} |
|||
) |
template_filename | (string ) path to template of the email |
ctx_dict | (dict ) params to be filled in the email |
Renders strings which can be sent as email contents (basing on template and data to be filled in).
CLMException('clm_template_create') |
def src.clm.utils.mail.send | ( | to_address, | |
msg_text, | |||
subject | |||
) |
def src.clm.utils.mail.send_activation_confirmation_email | ( | user, | |
wi_data | |||
) |
def src.clm.utils.mail.send_activation_email | ( | activation_key, | |
user, | |||
wi_data | |||
) |
def src.clm.utils.mail.send_admin_registration_notification | ( | user, | |
wi_data | |||
) |
def src.clm.utils.mail.send_block_email | ( | user, | |
block, | |||
wi_data | |||
) |