Email Registration
Registration Email
The Registration Process is set up in such a way that the user can receive 2 different emails:
- Activation email:The activation email is sent to users to provide a link to complete the registration process
- Registration email:Sent to the user to provide verification that the user's account has been registered - also known as a welcome or confirmation email
The user may receive either of these emails, both of the emails, or none at all, depending on the configuration of register and activateaccount in the Application Settings.
Configure action settings
Send registration (welcome) email
- From your application in Newzulu Platform, select Settings
- Click the User Actions tab
- Under register/action/v2/register, check the box emailActivation
- Save
Require activation before registration
- From your application in Newzulu Platform, select Settings
- Click the User Actions tab
- Under register/action/v2/register, check the box emailActivation
- Under register/action/v2/accountactivation, check the box emailConfirmation
- Save
Create the email template
- Open the application in your project
- Select Email Templates
- Create a new email and fill in the following fields:
- Template Name - set the Template Name to 'registration'.
- Wrapper Template - set to 'text'
- Subject - example: 'Welcome!'
- Sender - example: 'no-reply@yourdomain.com'
- Click Create
- Enter the template contents (sample text email code is provided below)
- Save the template
Supported Attributes
Name | Description |
app_maindomain | (String) The domain of the project. |
app_name | (String) The name of the project. |
firstname | (String) The first name of the recipient of the email (the new user who just created his/her account). |
lastname | (String) The last name of the recipient of the email (the new user who just created his/her account). |
username | (String) The username of the of the recipient of the email. |
user_id | (Integer) The id of the of the recipient of the email. |
Deprecated Attributes
Name | Description |
secret | An encrypted value used to activate the recipient's account. |
Example:
Hello {$$firstname} {$$lastname},
Thanks for registering with {$$app_name}.
Regards,
The {$$app_name} Team
See Also: