Skip to content

Commit

Permalink
Add the needed emailFrom property to the example (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jako committed Mar 7, 2024
1 parent 16fba2c commit 146214b
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -28,6 +28,7 @@ There is only one condition - Formit must be launched on the page where data fro
&hooks=`recaptcha,email,redirect`
&emailTpl=`MyEmailChunk`
&emailTo=`user@example.com`
&emailFrom=`[[++emailsender]]`
&redirectTo=`123`
&validate=`nospam:blank,
name:required,
Expand All @@ -39,6 +40,8 @@ There is only one condition - Formit must be launched on the page where data fro
]]
```

> Please make sure that emailFrom is set to `[[++emailsender]]`, otherwise the email field of the form will be taken. This is now causing issues as most hosters no longer send mails with a from from a unknown domains.
## Contact Form

This HTML code must be called on website page where you want to see Contact Form. "Action" field value points to the page where the snippet call is located, in our case we call it on the same page, so we use [~ tag](building-sites/tag-syntax/common#default-resource-content-field-tags) to generate a link for the current page.
Expand Down

0 comments on commit 146214b

Please sign in to comment.