Skip to content

Commit

Permalink
Add the needed emailFrom property to the example
Browse files Browse the repository at this point in the history
  • Loading branch information
Jako authored Mar 7, 2024
1 parent 930bd8d commit 7af7ebd
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
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=`[email protected]`
&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 7af7ebd

Please sign in to comment.