Basic Tutorial - Template Emails

Templates are featured features in Transactional MTARGET. You can easily create email design without writing any code at all. This will make it easier for you to send an email without ensuring that it will work properly on all user devices. Because emails created with templates in Transactional MTARGET are designed to be responsive on various devices.

Create Template Emails

To create an email template, you can log in to Template Manager menu in Transactional MTARGET. Then create an email template. We have provided an email template that you can change or directly use and send to your customers.

We also provide plain templates that you can use to create email templates from scratch. This can make it easy for you to create emails that suit your interests.

Using Template Emails

To be able to use email templates on transactional email, you can use the templateId property. Here iss an example send using template:

curl -s \
  -X POST \
  https://trx.mailtarget.co/outbox \
  -H 'Content-Type: application/json' \
  -d '{
    "accessToken": "$MT_APIKEY",
    "from": "$SENDER_EMAIL",
    "to": [
        "$RECIPIENT_EMAIL"
    ],
    "labels": [
        "$LABEL_EMAIL"
    ],
    "subject": "Hello",
    "templateId": "5a1b78c7f30e6a586be6299f"
    }'
Was this article helpful?
Let's See How They Improved By Using Our Products
Learn how our customers increase their leads and revenue through personalization and many other features. Check their stories!
×

Subscribe

The latest tutorials sent straight to your inbox.