Allow to set custom template for email receivers

Change-Id: I9fb7fbd1946e564e1e245ea226c5bbe7440f25d4
Closes-Bug: PROD-18240
This commit is contained in:
Dmitry Kalashnik 2018-03-05 17:34:51 +04:00
parent 55f8d880be
commit be606a43c4

View file

@ -118,6 +118,15 @@ receivers:
{%- if email.send_resolved is defined %} {%- if email.send_resolved is defined %}
send_resolved: {{ email.send_resolved | lower }} send_resolved: {{ email.send_resolved | lower }}
{%- endif %} {%- endif %}
{%- if email.html is defined %}
html: '{{ email.html }}'
{%- endif %}
{%- if email.headers is defined %}
headers:
{%- for header, value in email.headers.iteritems() %}
{{ header }}: {{ value }}
{%- endfor %}
{%- endif %}
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}
{%- endif %} {%- endif %}