mails.mixins module¶
-
class
mails.mixins.
MailUtilsMixin
(*args, **kwargs)[source]¶ Bases:
object
This mixin takes care of inserting the default data into the Utils or Form.
DEPRECATED
-
instance
= None¶
-
mail_data
= {}¶
-
mail_template
= ''¶
-
html_message
= ''¶
-
message
= ''¶
-
original_recipient
= ''¶
-
mail_sent
= False¶
-
delayed_processing
= False¶
-
validate_bcc_list
()[source]¶ bcc_to in the .json file may contain multiple raw email addreses or property paths to an email field. The different entries need to be comma separated.
-
validate
()[source]¶ Execute different validation methods.
Only to be used when the default data is used, eg. not in the EmailTemplateForm.
-