Skip to content

Notifications

Emails are sent via Postmark (recommended) or SMTP.

[notifications]
enabled = true
[notifications.email]
postmark_token = "your-server-token"
from_email = "shop@example.com"
from_name = "Your Store"
[notifications]
enabled = true
[notifications.email]
smtp_host = "smtp.example.com"
smtp_port = 465
smtp_user = "user@example.com"
smtp_pass = "password"
from_email = "shop@example.com"
from_name = "Your Store"
smtp_tls = true

All emails use HTML templates with the rCommerce brand:

  • Order confirmation — sent after payment succeeds
  • Shipping notification — sent when fulfillment is created
  • Password reset — sent when customer requests reset
  • Welcome — sent after registration

Templates are embedded in the binary. Custom templates planned.

Configure webhooks to receive real-time event notifications:

POST /api/v1/webhooks
{
"url": "https://your-app.com/webhooks",
"events": ["order.paid", "order.shipped"]
}

See Webhooks API for details.

SMS notifications are supported but require a third-party provider (Twilio, etc.). Configure in the [notifications.sms] section.