cms.core.mail package¶
Submodules¶
cms.core.mail.admin module¶
cms.core.mail.cms_defaults module¶
cms.core.mail.cms_plugin module¶
cms.core.mail.models module¶
cms.core.mail.views module¶
-
class
cms.core.mail.views.
EMailTestView
(**kwargs)¶ Bases:
cms.contrib.admintools.views.AdmintoolsBaseView
-
description
= (<django.utils.functional.__proxy__ object at 0x563fd90>,)¶
-
get
(request)¶
-
group
= 'emailalt'¶
-
group_title
= <django.utils.functional.__proxy__ object at 0x563fdd0>¶
-
title
= <django.utils.functional.__proxy__ object at 0x563fd50>¶
-
Module contents¶
-
cms.core.mail.
build_fake_request
(request)¶
-
cms.core.mail.
send_mail
(addr_bcc=None, addr_from=None, addr_reply_to=None, addr_sender=None, addr_to=None, attachments=[], body=None, context={}, connection=None, fail_silently=False, headers=None, html=True, subject=None, template=None)¶ Send email rendering text and html versions for the specified template name using the context dictionary passed in.
-
cms.core.mail.
send_mass_mail
(addr_from=None, addr_reply_to=None, addr_sender=None, addr_to=None, attachments=[], body=None, context={}, connection=None, fail_silently=False, headers=None, html=True, subject=None, template=None)¶ Send email rendering text and html versions for the specified template name using the context dictionary passed in.
-
cms.core.mail.
send_testmail
()¶
-
cms.core.mail.
split_addresses
(email_string_list)¶ Converts a string containing comma separated email addresses into a list of email addresses.
-
cms.core.mail.
update_context
(context, subject=None)¶
-
cms.core.mail.
update_headers
(addr_reply_to, addr_sender, headers)¶