Mandrill email template preview
Mandrill is a transactional email service that allows you to send and track emails programmatically. Here is an example of how to preview an email template in Mandrill:
Step 1: Create a new email template in Mandrill
- Log in to your Mandrill account and navigate to the "Templates" tab.
- Click the "Create Template" button and enter a name and description for your template.
- Design your email template using the drag-and-drop editor or by writing HTML code.
Step 2: Configure the template settings
- In the "Template Settings" section, select the "Preview" tab.
- Choose the email address you want to use for the preview (e.g. a test email address).
- Set the "From" name and email address to the desired values.
- Set the "Subject" line to the desired value.
Step 3: Preview the email template
- Click the "Preview" button to generate a preview of your email template.
- Mandrill will send a test email to the email address you specified in Step 2.
- You can then view the email in your email client or online.
Tips and Variations
- You can also use Mandrill's "Preview" feature to test different variations of your email template, such as different subject lines or from names.
- To test a specific merge tag, you can use Mandrill's "Merge Tag" feature to replace the merge tag with a specific value.
- You can also use Mandrill's "Template Variables" feature to test different values for variables in your email template.
Here is an example of what the Mandrill email template preview might look like:
Subject: Welcome to our newsletter!
From: John Doe [email protected]
Body:
Hello [Name],
Welcome to our newsletter! We're excited to have you on board.
Best regards, John Doe
Merge Tags:
- [Name]: John Doe
Template Variables:
- [Variable 1]: Value 1
- [Variable 2]: Value 2
By using Mandrill's email template preview feature, you can ensure that your email templates look and function as expected before sending them to your subscribers.