Last updated
Last updated
Automated emails can be used to automatically send emails to your customers when a specific event is triggered. The following are the supported events:
license.created
license.renewed
license.extended
license.expiring-soon
license.expired
license.deleted
user.created
user.reset-password-request
NOTE: Use instead of automated emails if you have a complex workflow.
You can easily create an automated email through the admin portal. Go to the Developer -> Automated Emails
section in the admin portal and click the add button. An automated email form with the following fields will popup:
After creating the automated email, make sure you link it with the product.
Name of the automated email.
The from name that should appear for the email.
The email address to be used for sending the email.
The from email address will only be used if you have verified your domain, otherwise, it will default to noreply@cryptlex.com.
The subject of the email. This can contain data placeholders too.
Reply to address for the email. We recommend setting this to your support email.
The body of the email. You can use HTML for formatting.
The event to trigger the email.
Whether an email should be sent or not, you can use it to disable the automated email.
By default, your email body will be automatically wrapped in a responsive HTML email. In case you want to prevent that and use your own branded email, this property can be set to true
.
Data filters can be used to format the date and number fields in automated emails.
Formats date and times.
Input
Output
Formats numbers.
Input
Output
For other supported filters please refer to the following:
After you have created the automated email, click the Send Test Email
option in the actions menu in the table. You can use this to test your automated email.
For Cryptlex to send emails on your behalf using your From Email address, you must verify that you own the domain. This is done by adding a Sending Domain in Cryptlex and verifying the DNS records shown in the Sending Domain.
If you don’t add the domain verification records, Cryptlex sends emails using noreply@cryptlex-mail.com
email address. If you want to give your customers a white-label experience, hiding all Cryptlex branding, you must add and verify the sending domain.
On the Settings -> Customizations
page in the admin portal, click on the Add
button in the Email Sending Domain
section to add your domain.
Verify the domain by adding the required TXT and CNAME DNS entries.
After you have added the CNAME and TXT records, click the Verify
button to confirm that all of your records are now valid.
After your domain is verified, leave the CNAME and TXT records in place.
Automated email event logs show information about the emails that were sent by an automated email. You can use automated email event logs to see the status of all the emails that were sent, the email body and even manually resend the email if needed.
All the properties of , and resources can be accessed in the body and the subject of the automated email. The general syntax is resource.propertName
. Following is a sample automated email body:
For more date format specifiers refer to the following: