Sends a confirmation email to the user.
| Parameters: |
|
|---|
This hook sends a confirmation email to whomever submits the form. Like EmailForm, the default settings are designed to be adaptive and will throw exceptions if a value cannot be set.
Emails the form data.
| Parameters: |
|
|---|
The default settings are designed to be adaptive, but EmailForm will throw an exception if a value cannot be found for a particular setting.
If the message_template is a string, EmailForm will replace {{ body }} with the automatically generated body, allowing you to specify a greeting and salutation without creating a dedicated template file.
Handles file-upload logic.
This hook moves any files in the temporary upload directory to the root upload directory. Since hooks run after validation, the files are already approved and valid. This hook is necessary if your form contains any upload fields.