DocumentationFrom address
From address
fromEmail, fromName, and replyTo — sender identity on verified domains.
Every send identifies the sender with fromEmail, optional fromName, and optional replyTo.
Fields
| Field | Required | Description |
|---|---|---|
fromEmail | No* | Sender address — must be on a verified domain |
fromName | No | Display name shown to recipients (e.g. "Acme Support") |
replyTo | No | Where replies go if different from fromEmail |
*If omitted, MailingCore uses your tenant's default sender on a verified domain.
Example
{
"to": "[email protected]",
"subject": "Your invoice",
"htmlBody": "<p>Invoice attached.</p>",
"fromEmail": "[email protected]",
"fromName": "Acme Billing",
"replyTo": "[email protected]"
}
SDK
await MailingCore.send({
to: '[email protected]',
subject: 'Your invoice',
htmlBody: '<p>Invoice attached.</p>',
fromEmail: '[email protected]',
fromName: 'Acme Billing',
replyTo: '[email protected]',
})
Best practices
| Practice | Why |
|---|---|
Use a subdomain for transactional (noreply@, billing@) | Separates reputation from marketing |
Set meaningful fromName | Reduces spam reports |
Use replyTo for monitored inboxes | noreply@ should not receive replies you need |
| Align with DMARC | From domain must pass SPF/DKIM alignment |