Plaintext

Writing the textual version of the email


Your template can have a plain text version and it’s even recommended to have one. All the Finqu default emails include a plain text version. It is constructed with detecting, rendering and combining the content between the plaintexttags. For example if you’d have a layout file like this (all the HTML content is removed for clarity):

{% plaintext %}
My email header
{% endplaintext %}

{{ content_for_layout }}

{% plaintext %}
My email footer
{% endplaintext %}

and then you would have your template content like this:

{% plaintext %}
My email content
    is here!
{% endplaintext %}

The plain text email would look like this:

My email header

My email content
    is here!

My email footer