# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pixeleyes.de/anleitungen-instructions/deutsch/dokumentation-unserer-shopware-6-plugins/formular-manager-fur-shopware-6/email-template.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
