> For the complete documentation index, see [llms.txt](https://docs.pixeleyes.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pixeleyes.de/anleitungen-instructions/deutsch/dokumentation-unserer-shopware-6-plugins/formular-manager-fur-shopware-6/email-template.md).

# Email Template

**E-Mail Template:**\
\
Bei der Installation des Plugins, wird ein **Email Template** *"Formular Manager"* und **Email Typ** *"Formular Manager"* erstellt .

Dieses können Sie dann jederzeit anpassen und/oder auch duplizieren.

Möchten Sie ein neues Email Template erstellen, so müssen Sie unbedingt  den **Typ "Formular Manager"** auswählen

{% hint style="warning" %}
Header und Footer werden noch nicht unterstützt, daher müssten Sie im Formular selbst den Header einsetzen
{% endhint %}

Mehr Informationen über Email Templates finden Sie auf\
<https://docs.shopware.com/en/shopware-6-en/settings/email-templates>

<figure><img src="/files/GfrMV0r6ensdvzyrbxEl" alt=""><figcaption></figcaption></figure>

Achten Sie darauf unter Mail-Text auch den erforderlichen Code für **Text** und **HTML** einzugeben

**TEXT**

{% code lineNumbers="true" %}

```twig
 Folgende Nachricht wurde an Sie via Kontakt-Formular Shop {{ salesChannel.name }} gesendet.
 {{ pixforData.config.translated.name }}
 {% if pixforData.email is defined %}
 e-Mail:{{ pixforData.email }}
 {% endif %}
 {% if pixforData.subject is defined %}
 Betreff:{{ pixforData.subject }}
 {% endif %}
 {% for item in pixforData.form %}
 {{ item.label }}:{{ item.value }}
 {% endfor %}
```

{% endcode %}

**HTML**

{% code overflow="wrap" lineNumbers="true" %}

```twig
<div style="font-family:arial; font-size:12px;">
<p>
Folgende Nachricht wurde an Sie via Kontakt-Formular vom Shop {{ salesChannel.name }} gesendet.<br/>
<br/>
<< {% if pixforData.firstname is defined %} {{ pixforData.firstname }} {% endif %} {% if pixforData.lastname is defined %} {{ pixforData.lastname }}  {% endif %}>>
 {{ pixforData.uri }}
<h2> {{ pixforData.config.translated.name }}</h2> 
{% if pixforData.email is defined %}
<b>e-Mail:</b>{{ pixforData.email }}<br>
{% endif %}
{% if pixforData.subject is defined %}
<b>Betreff:</b>{{ pixforData.subject }}<br>
{% endif %}
{% for item in pixforData.form %}
<b>{{ item.label }}:</b> {{ item.value }}<br>
 {% endfor %}
 sales: {{ salesChannel.name }}
 
 {% if pixforData.upload is defined and pixforData.upload|length >= 1 %}
 {% if pixforData.upload %}
 Folgende Dateien haben Sie hochgeladen:<br>
{% for uitem in pixforData.upload %}
{{ uitem.realname }}<br>
 {% endfor %}
 {% endif %}
 
  {% endif %}
 </p>

 </div>
```

{% endcode %}

<figure><img src="/files/htCCjWUs2VjKhUJogWpL" alt=""><figcaption></figcaption></figure>
