public static final class SignUpConfiguration.EmailConfig
extends java.lang.Object
Emails can be fully customized by creating an HTML template and storing it under the Extension's folder or any sub-folder under that same path. Email templates use simple place holders to inject dynamic content from code. The pre-defined place holders are:
Modifier and Type | Field and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
customEmailFields
(Optional) a map of place holders and relative values to be populated in the email body.
|
java.lang.String |
fromAddress
The email's from address
|
boolean |
isActive
Turns on/off the automated email
|
int |
maxResendTimes
Determines how many times a user can request the Activation email to be re-sent
in case the previous one wasn't received.
|
java.lang.String |
subject
The email's subject
|
java.lang.String |
template
The path to the email HTML template relative to the Extension's folder.
|
Constructor and Description |
---|
EmailConfig() |
public boolean isActive
public java.lang.String template
public java.lang.String fromAddress
public java.lang.String subject
public java.util.Map<java.lang.String,java.lang.String> customEmailFields
This can be useful to dynamically generate HTML content in the response email.
public int maxResendTimes