Spanish Total.js
English
Documentation For AI agents
Contents

Sending emails

Questions about emails that do not arrive or do not look as expected.

.md GitHub
On this page

The API says success, but no email arrives. What should I check?

  • Look in Logs. If the Error column has a message, the SMTP server refused the email.
  • Click Test in the profile to check the SMTP server. See Test emails.
  • Check the spam folder. Many providers accept mail only from senders their SMTP server is allowed to use, so the From address of the profile must belong to your SMTP account or domain.
  • With several recipients in to, OpenMail answers before it sends. See Send an email.

A value in my email is empty. Why?

The template prints only the data your app sends in data. The sample data in the <script type="text/json"> block is used only for the preview and for Bulk send. Check that the names match, for example value.name in the template and "name" in data.

HTML in my data shows as text. Why?

Values are HTML-encoded so your data cannot break the email. To insert HTML from your data on purpose, use raw, for example {{ value.text | raw }}, and only with data you trust.

Special characters in the subject look wrong. Why?

Values in the subject are HTML-encoded too, so & or < from your data show as & or <. Avoid these characters in values used in the subject, or send a ready subject with the request.

The request hangs. Why?

With one recipient, OpenMail answers only after the SMTP server has answered. If the SMTP server is unreachable, the request can wait a long time. Set a timeout in your app and use Test in the profile.

Made in Europe