Skip to content

CalendarAlarm

Configures calendar alarm email notifications.

This object can be configured from the WebUI under Settings › Calendar & Contacts › Alarms

Type: Boolean · default: false

Allows calendar alarms to be sent to external recipients, enabling notifications to users outside the server

Type: Boolean · default: true

Enables the calendar alarms feature, allowing users to set alarms for events and receive notifications via e-mail

Type: EmailAddress?

Specifies the e-mail address that will appear in the ‘From’ field of calendar alarm e-mails, ensuring that users can reply to or contact the sender

Type: String · default: "Stalwart Calendar"

Specifies the name that will appear in the ‘From’ field of calendar alarm e-mails, providing a recognizable sender name for users

Type: Duration · default: "1h"

Specifies the minimum interval for calendar alarms, ensuring that alarms are not triggered too frequently

Type: Html? · enterprise

Specifies the HTML template used for rendering calendar alarm e-mails, allowing customization of the alarm notification format

The CalendarAlarm singleton is available via the urn:stalwart:jmap capability.

This is a standard Foo/get method as defined in RFC 8620, Section 5.1.

For singletons, the ids argument should be the literal singleton (or null to return the single instance).

This method requires the sysCalendarAlarmGet permission.

Terminal window
curl -X POST https://mail.example.com/api \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"methodCalls": [
[
"x:CalendarAlarm/get",
{
"ids": [
"singleton"
]
},
"c1"
]
],
"using": [
"urn:ietf:params:jmap:core",
"urn:stalwart:jmap"
]
}'

This is a standard Foo/set method as defined in RFC 8620, Section 5.3.

For singletons, only the update argument with id singleton is accepted; create and destroy arguments are rejected.

This method requires the sysCalendarAlarmUpdate permission.

Terminal window
curl -X POST https://mail.example.com/api \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"methodCalls": [
[
"x:CalendarAlarm/set",
{
"update": {
"singleton": {
"fromName": "updated value"
}
}
},
"c1"
]
],
"using": [
"urn:ietf:params:jmap:core",
"urn:stalwart:jmap"
]
}'

stalwart-cli wraps the same JMAP calls. See the CLI reference for installation, authentication, and general usage.

Terminal window
stalwart-cli get CalendarAlarm
Terminal window
stalwart-cli update CalendarAlarm --field fromName='updated value'