Add option to strip images from emails

This commit is contained in:
2019-10-21 18:48:04 +02:00
parent 228be9f4be
commit f0f2c6b742
3 changed files with 46 additions and 11 deletions

View File

@@ -117,10 +117,15 @@ notification_email_subject = Spam Quarantine Notification
#
notification_email_template = templates/notification.template
# Option: notification_email_strip_images
# Notes: Optionally enable this option to strip img tags from emails.
# Values: [ TRUE|ON|YES|FALSE|OFF|NO ]
#
notification_email_strip_images = False
# Option: notification_email_replacement_img
# Notes: Set the path to the replacement image for img tags within emails.
# Notes: Optionally set the path to a replacement image for img tags within emails.
# A relative path to this config file can be used.
# This option is needed by notification type 'email'.
# Values: [ IMAGE_PATH ]
#
notification_email_replacement_img = templates/removed.png