I am testing my contact form and I noticed the sender is receiving a confirmation email. How can I stop the confirmation email send to recipient? Also, in the email 'To:', it has both the sender's and the admin's email addresse. Would like to have just one email placed there.
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Archive
Hi,
If you have something like in your form definition (I extracted the interesting part) :
TWIG
process:
-
email:
from: "{{ config.plugins.email.from }}"
to:
- "{{ config.plugins.email.from }}"
- "{{ form.value.email }}"
Then the "to" will send to both internal contact and to recipient.
So just remove the - "{{ form.value.email }}" and you should be done.
Hope it helps,
Nicolas
You can also send a bcc:
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1297 | 9 years ago | ||
| 2 | 894 | 9 years ago | ||
| 2 | 4024 | 9 years ago | ||
| 1 | 2899 | 9 years ago | ||
| 3 | 1082 | 9 years ago |