[data-reveal]{opacity:1!important;transform:none!important}
AntelopeJS DMS
DocumentationConfiguration

Configuration

The module option in antelope.config.ts and every workspace setting of the Settings page.

Mailing has one module option and a set of workspace settings edited in the dashboard.

Module option

antelope.config.ts typescript
"dms-mailing": {
  source: { type: "package", package: "@antelopejs/dms-mailing", version: "^0.11.0" },
  config: {
    useHtmlRender: true,
  },
},
OptionTypeDefaultDescription
useHtmlRenderbooleantrueRenders e-mails through the DMS html-render chain, with the DMS e-mail branding. false uses the module's own standalone HTML renderer. The module also falls back to that renderer when the DMS renderer fails, and logs [dms-mailing] html-render unavailable, using fallback.

The webhook URL starts with the DMS clientBaseUrl from the dms module config. Without it, the URL starts with the DMS apiBaseUrl, and without that, with the origin of the API server itself. The e-mail logo comes from the DMS branding: branding.logo.email.light, else branding.logo.default.light. Only the html-render chain draws the logo.

Workspace settings

Each workspace edits its settings on Configure › Settings. GET /api/mailing/settings reads them and PUT /api/mailing/settings writes them. A write carries only the changed fields.

SectionSettingDefaultDescription
SenderSender nameemptyYour brand, used for every template. It is used only with a sender address.
SenderSender addressempty (the provider's default)Must belong to a domain verified with your provider.
SenderReply-to addressempty (the sender)Where answers go.
Delivery guardsMissing variablesSend anywayRefuse the send fails the call when a required variable is missing. Send anyway leaves blanks. A real send from the dashboard refuses a missing required variable whatever this setting says.
Delivery guardsFallback localeenThe locale sent when a template has no version in the recipient's language.
Provider & webhookProviderread-onlyThe name of the interface-email implementation.
Provider & webhookWebhook URLread-only<origin>/api/mailing/events/<provider>/<tenantId>, to copy into your provider or relay. <provider> is the provider name in lower case, with each run of other characters turned into a hyphen, or provider when there is none.
Provider & webhookWebhook secretgenerated, 48 hexadecimal charactersSent in the x-mailing-webhook-secret header. A secret you paste needs 32 to 120 characters. Rotate issues a new secret, and the old one stops working at once.
Provider & webhookWebhook statusread-onlyThe last event received and the last refused call, with Send a test event.
Log retentionKeep sends for90 daysBetween 1 day and 10 years (3,650 days). A daily job at 03:15 server time deletes older sends and their events. It never deletes templates.
Template categoriesCategoriesOrders, Account & access, Billing, Marketing, FormsGroup the template gallery. marketing can be renamed, not removed.
Note

The write refuses any field it does not know, the read-only webhookUrl and provider among them. categories is an array of { id, label, icon }, where label holds one text per language ({ en: "Orders", fr: "Commandes" }) and icon is a Phosphor icon name such as i-ph-package.