Get started with transactional email

Transactional email is how you send one-to-one messages from your own app through Tarvent, such as receipts, order confirmations, password resets, and account alerts. Unlike a campaign, which goes to many contacts at once, a transactional message is triggered by something a single person does and is sent to that person. This guide explains what transactional email is, how it works, and how to send your first message.

In this guide, you'll find:

  1. What transactional email is
  2. How it works
  3. Credits at a glance
  4. Sending your first message
  5. Tracking and reporting
  6. FAQs

1 What transactional email is

Transactional email is sent programmatically from your application over Tarvent's API, one message at a time, in response to something a user does. Common examples are receipts, confirmations, shipping notices, password resets, and security alerts.

It's different from a campaign in a few ways:

  • A campaign is composed in Tarvent and sent to a group of contacts. A transactional message is sent by your app, to one recipient, through the API.
  • Transactional messages are billed with credits (one per recipient), separate from your campaign sending.

2 How it works

Your app sends Tarvent a transaction, which is a single request describing one message: who it's from, who it's going to, the subject, the content, and any personalization. Tarvent renders the message, delivers it, and records what happens to it (delivered, opened, clicked, bounced).

  • You can send through the API or relay through Tarvent's SMTP address, whichever fits your stack.
  • Content can come from a saved template or be included directly in the request as HTML and plain text.
  • You can personalize each message with variables, and reference an existing Tarvent contact instead of typing an address.

The details of building a request are covered in Sending transactional email through the API.

3 Credits at a glance

Transactional email uses credits, one per recipient. Every account includes a free monthly allowance so you can start right away, and you can select a larger monthly amount as your volume grows. Credits are a monthly amount that resets each billing cycle. See Transactional email credits, billing, and overage for the full details.

4 Sending your first message

There are three things to set up:

  1. Create an API key. Your app authenticates to Tarvent with an API key, created in your account settings.
  2. Verify a sending domain. The "from" address on a transactional message must use a domain you've verified in Tarvent, so your mail authenticates and delivers well.
  3. Build the request. Use the Email API Call Builder (in the Help menu) to set every option through the UI and generate ready-to-run code in your language.
Tip: Use the Call Builder's "Force error response" option to test how your app handles errors before you send anything real. See the API guide for details.

5 Tracking and reporting

Tarvent tracks delivery, opens, clicks, and bounces for each transactional message. You can review this in the transactional reports under Reports. See Transactional email reports for what's available.

6 FAQs

How is transactional email different from a campaign?
A campaign is built in Tarvent and sent to many contacts at once. A transactional message is sent by your own app over the API, to a single recipient, usually triggered by something that person did. They're billed separately, too: transactional email uses credits.
Do I need to write code to send transactional email?
Yes, transactional email is sent from your application. The Email API Call Builder in the Help menu makes it much easier: you configure the message in the UI and it generates the code for you in several languages, which your developer can drop into your app.
Can I use my email templates for transactional messages?
Yes. A transaction can reference a saved template by its ID, or include the HTML and plain-text content directly in the request.
Is transactional email included in my plan?
Every account includes a free monthly allowance of transactional credits, so you can start sending right away. If you need more, you can select a larger monthly credit amount at any time.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us