Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

How to specify form email "reply-to"

Started by Muut Archive 9 years ago · 1 replies · 1212 views
9 years ago

I would like to specify the "Reply-to" value of form emails.
example:
process:

TWIG
  email:
    from: "{{ form.value.email }}"
    to: "{{ config.plugins.email.to }}"
    reply-to: "{{ form.value.email }}"
    subject: "Contact by {{ form.value.name|e }}"
    body: "{% include 'forms/data.html.twig' %}"
9 years ago

Found it! Just had to use lowline in place of hyphen
reply_to: “{{ form.value.email }}”

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3042 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago