Property | Type | Description | |
---|---|---|---|
ConstructMessage | string | ||
FilterEmails | IEnumerable |
Method | Description | |
---|---|---|
DeserializeConfiguration ( string configuration ) : object |
Deserializes the configuration for an email handler.
|
|
HandleForm ( FormSubmissionContext context, object configuration ) : void |
Handles a form submission (sends an email).
|
|
PrepareHandleForm ( FormSubmissionContext context, object configuration ) : void |
Prepares to handle to form submission. In this case, no preparation is necessary. |
Method | Description | |
---|---|---|
ConstructMessage ( Form form, IEnumerable |
Constructs an email message from the form fields.
|
|
FilterEmails ( IEnumerable |
Filters the email addresses to only return those allowed by the whitelist.
|
public DeserializeConfiguration ( string configuration ) : object | ||
configuration | string | /// The serialized configuration. /// |
return | object |
public HandleForm ( FormSubmissionContext context, object configuration ) : void | ||
context | FormSubmissionContext | /// The form submission context. /// |
configuration | object | /// The handler configuration. /// |
return | void |
public PrepareHandleForm ( FormSubmissionContext context, object configuration ) : void | ||
context | FormSubmissionContext | /// The form submission context. /// |
configuration | object | /// The handler configuration. /// |
return | void |