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 · 1196 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 597 1 day ago
Archive · by Deleted User, 9 years ago
0 2978 9 years ago
Archive · by Muut Archive, 9 years ago
2 1929 9 years ago
Archive · by Muut Archive, 9 years ago
2 5268 9 years ago
Archive · by Muut Archive, 9 years ago
1 4082 9 years ago