Company | Newzulu Platform | Developer

Developer Template Documentation v4.12.4.12

Email Activation


Activation Email

The Registration Process is set up in such a way that the user can receive 2 different emails:

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

Create the email template

Supported Attributes

NameDescription
app_maindomain The domain of the project.
app_name The name of the project.
firstname The first name of the recipient of the email (the new user who is supposed to have his/her account activated).
lastname The last name of the recipient of the email (the new user who is supposed to have his/her account activated).
s A required encrypted value used to activate the recipient's account.
u A required encrypted value used to activate the recipient's account.
username The username of the of the recipient of the email.
user_id The id of the of the recipient of the email.
vhostname The domain of the vhost of the project.

Deprecated Attributes

NameDescription
secret An encrypted value used to activate the recipient's account.

Example:

<div style="text-align:left"> <p>Hello {$$firstname} {$$lastname},</p> <p>Thanks for registering with {$$app_name}.</p> <p>Please follow the link below to activate your account.</p> <p>{$$vhostname}/action/v2/activateaccount?s={$$s}&u={$$u}</p> <p>Regards,</p> <p>The {$$app_name} Team</p> </div>

See Also:

<< 3.1.4 Email templates 3.1.4.2 Email Comment Notification >>