We're using the Grav email plugin on our site but the contact form is not placing the user's email address as the reply-to in the email. How can we configure it so that the person that filled out the form is set as reply_to?
Archive
The setup would be something like this
-```
reply_to: '{{ form.value.email }}'
TXT
However that would mean the user would email themselves if they replied to the email.
If you wanted the user to receive a copy of the submission you could do something like this to bcc: you a copy and and to: a copy to them.
from: '{{ config.plugins.email.from }}'
to: '{{ form.value.email }}'
bcc: '{{ config.plugins.email.from }}'
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1332 | 9 years ago | ||
| 2 | 923 | 9 years ago | ||
| 2 | 4053 | 9 years ago | ||
| 1 | 2931 | 9 years ago | ||
| 3 | 1109 | 9 years ago |