mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
updated documentation regarding html notifications
This commit is contained in:
parent
a86b82190c
commit
1f65a4aae6
@ -233,6 +233,16 @@ Email Notifications
|
||||
Wagtail sends email notifications when content is submitted for moderation, and when the content is accepted or rejected. This setting lets you pick which email address these automatic notifications will come from. If omitted, Django will fall back to using the ``DEFAULT_FROM_EMAIL`` variable if set, and ``webmaster@localhost`` if not.
|
||||
|
||||
|
||||
Email Notification format
|
||||
-------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
WAGTAILADMIN_NOTIFICATION_USE_HTML = True
|
||||
|
||||
Notification emails are sent in `text/plain` by default, change this to use HTML formatting.
|
||||
|
||||
|
||||
.. _update_notifications:
|
||||
|
||||
Wagtail update notifications
|
||||
@ -498,6 +508,9 @@ These two files should reside in your project directory (``myproject/myproject/`
|
||||
# Wagtail email notifications from address
|
||||
# WAGTAILADMIN_NOTIFICATION_FROM_EMAIL = 'wagtail@myhost.io'
|
||||
|
||||
# Wagtail email notification format
|
||||
# WAGTAILADMIN_NOTIFICATION_USE_HTML = True
|
||||
|
||||
# If you want to use Embedly for embeds, supply a key
|
||||
# (this key doesn't work, get your own!)
|
||||
# WAGTAILEMBEDS_EMBEDLY_KEY = '253e433d59dc4d2xa266e9e0de0cb830'
|
||||
|
Loading…
Reference in New Issue
Block a user