You can add custom greetings like Good Morning or Good Night in your Emails automatically via Email Template.
To create an email template:
- Navigate to More Icons on left menu bar
- Click on Email Templates
- Click on + New Email Template to create a template.
- Select Simple Text type of Email Template.
- Paste the following Code in the starting of the template.
{% assign day = "00:00" | convert: "date" %}
{% assign end_day = "12:00" | convert: "date" %}
{% assign night= "20:00" | convert: "date" %}
{% assign end_night= "23:59" | convert: "date" %}
{% capture now_time %} {{'now' | date: "%H:%M" }}{% endcapture %}
{% if now_time > end_day and now_time < end_night%}
Good Night
{% else %} Good Morning! {% endif %}
- Add the Template Name.
- Create/Select the folder where you would like to store this email template.
- Mention the Subject Line of the Email. You can also insert dynamic attributes to send personalized emails and Hit Next.
- Hit on Update and update the email template.
Comments
0 comments
Article is closed for comments.