mod_admin_notify/README.markdown
author Matthew Wild <mwild1@gmail.com>
Sun, 28 Aug 2022 11:11:50 +0100
changeset 5022 ed2a9a4c4f01
parent 4242 e97c509fdbe3
permissions -rw-r--r--
mod_sasl2: Return status from event handlers Without this, clients would get "unsupported-stanza-type" even on successfully handled responses.

---
labels:
- 'Stage-Alpha'
summary: API to notify server admins
---

# Introduction

This module provides an API for other module developers to send
notification messages to host admins.

# Configuration

None required.

# Developers

Example:

```
local notify_admins = module:depends("admin_notify").notify;

notify("This is an important message for you, admins")
```

# Compatibility

Prosody trunk or later. Incompatible with 0.11 or lower.