# Kontaktformular Reply-To setzen

**URL:** <https://forum.shopware.com/t/kontaktformular-reply-to-setzen/71108>\
**Category:** Allgemein\
**Created:** [23. November 2020 um 19:53 UTC](https://forum.shopware.com/t/kontaktformular-reply-to-setzen/71108 "2020-11-23T19:53:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kai23](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@Kai23](https://forum.shopware.com/u/Kai23)\
**Post date:** [23. November 2020 um 19:53 UTC](https://forum.shopware.com/t/kontaktformular-reply-to-setzen/71108/1 "2020-11-23T19:53:10Z")

</div>

Wie kann man bei&nbsp;Emails die über ein&nbsp;Formular&nbsp;gesendet ewrden das Header-Feld&nbsp;Reply-To&nbsp;auf die im Kontaktformular angegebene E-Mailaddresse zu setzten?

Das würde dem Shopbetrieber&nbsp;die Beantwortung solcher Email etwas erleichtern.

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [23. November 2020 um 20:01 UTC](https://forum.shopware.com/t/kontaktformular-reply-to-setzen/71108/2 "2020-11-23T20:01:10Z")

</div>

Shopware macht das automatisch:&nbsp;[shopware/MailTransport.php at 452c5c29b3a2b7e44a2587236ae759d20a0d7002 · shopware/shopware · GitHub](https://github.com/shopware/shopware/blob/452c5c29b3a2b7e44a2587236ae759d20a0d7002/engine/Shopware/Components/DependencyInjection/Bridge/MailTransport.php#L96)

Du musst nur sicherstellen, dass das Feld wo der Kunde seine email-Adresse reinschreibt in der Feldkonfiguration des Formulars den Typ „Email“ hat und nicht „text“

Aber nicht jeder Mailer unterstützt das, kann also auch am Mailanbieter liegen.

---

<div class="post-metadata">

**Author:** ![Kai23](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@Kai23](https://forum.shopware.com/u/Kai23)\
**Post date:** [23. November 2020 um 20:29 UTC](https://forum.shopware.com/t/kontaktformular-reply-to-setzen/71108/3 "2020-11-23T20:29:32Z")

</div>

Oh ja, das Format des&nbsp;email Felds&nbsp;war auf&nbsp;Text gestellt, warum auch immer.  
Format auf email umgestellt und schon ist der ReplyTo-Header gesetzt, prima

Ich hatte dazu nichts gefunden in&nbsp;Einstellungen oder bei den Formulareinstellungen.

Eventuell könnte man&nbsp;bei der Konfiguration der&nbsp;Formular&nbsp;Felder&nbsp;das email Feld das welches für&nbsp;reply-to benutzt wird mit einem Hinnweis kennzeichnen, oder ein Häckchen für manuelle zuordnung oder deaktivierung… &nbsp;  
Oder bei den Formular Stammdaten direkt hinzufügen, vorausgefüllt mit&nbsp;{sVars.email} oder so

$options[‚replyTo‘][‚email‘] wird also aus einem Formularfeld im Format email gesetzt.  
Wie bekommt man&nbsp;$options[‚replyTo‘][‚name‘] denn befüllt?

---

<div class="post-metadata">

**Author:** ![LeonardKengji](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/leonardkengji/32/13547_2.png) [@LeonardKengji](https://forum.shopware.com/u/LeonardKengji)\
**Post date:** [11. Oktober 2021 um 18:13 UTC](https://forum.shopware.com/t/kontaktformular-reply-to-setzen/71108/4 "2021-10-11T18:13:27Z")

</div>

Hallo Moritz

Wo ist das in SW6 zu finden? V.6.4.5.1  
Ich habe nämlich das gleiche Problem.

Lieber Gruss  
Leo

---

<div class="post-metadata">

**Author:** ![uniqueweb](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/uniqueweb/32/17317_2.png) [@uniqueweb](https://forum.shopware.com/u/uniqueweb)\
**Post date:** [24. Februar 2023 um 09:56 UTC](https://forum.shopware.com/t/kontaktformular-reply-to-setzen/71108/5 "2023-02-24T09:56:31Z")

</div>

Diese Funktion gibt es derzeit nicht für Shopware. Ich habe mir dafür selbst ein kleines Plugin geschrieben, das den Reply-To Header setzt, bevor eine Email verschickt wird. Wenn du das haben möchtest kannst du dich gerne melden.

---

<div class="post-metadata">

**Author:** ![h.72.ghorashi](https://avatars.discourse-cdn.com/v4/letter/h/a698b9/32.png) [@h.72.ghorashi](https://forum.shopware.com/u/h.72.ghorashi)\
**Post date:** [10. Oktober 2023 um 06:54 UTC](https://forum.shopware.com/t/kontaktformular-reply-to-setzen/71108/6 "2023-10-10T06:54:43Z")

</div>

Hi there,  
I have the same problem and I just came across your answer, would it be possible for you to share more about your plugin I’m relatively new in SW6.  
Thanks

---

<div class="post-metadata">

**Author:** ![uniqueweb](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/uniqueweb/32/17317_2.png) [@uniqueweb](https://forum.shopware.com/u/uniqueweb)\
**Post date:** [10. Oktober 2023 um 07:14 UTC](https://forum.shopware.com/t/kontaktformular-reply-to-setzen/71108/7 "2023-10-10T07:14:44Z")

</div>

@h.72.ghorashi Hi,

if you interested in the plugin send me a PM. I will send you the plugin. But currently the plugin is only for the contact form.

---

<div class="post-metadata">

**Author:** ![h.72.ghorashi](https://avatars.discourse-cdn.com/v4/letter/h/a698b9/32.png) [@h.72.ghorashi](https://forum.shopware.com/u/h.72.ghorashi)\
**Post date:** [10. Oktober 2023 um 07:24 UTC](https://forum.shopware.com/t/kontaktformular-reply-to-setzen/71108/8 "2023-10-10T07:24:52Z")

</div>

Thank you, that’s exactly what I need it for.  
But sorry I’m not sure how I can send you a PM here.
