-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the needed emailFrom property to the example
- Loading branch information
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
|
@@ -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. | ||
|