\ContactFormControls
Decorates the page controller to provide a contact form handler on all pages
- Author: Aaron Carlino <aaron@bluehousegroup.com>
Synopsis
class ContactFormControls
extends DataExtension
{
- // methods
- public void doContactFormSubmit()
- public void sendEmail()
Hierarchy
Extends
- DataExtension
Methods
public
- doContactFormSubmit() — Handles the submission of the contact form. Checks spam and builds and sends the email
- sendEmail() — Sends the email, either with the native {@link Email} class or with Postmark