[][src]Module oration::notify

Sends notifications to admin.

Functions

get_domain

Parses a URL, returning just the domain portion. The regex is overkill for this at the moment, but I think it may be usefull in the future to have this ability.

push_telegram

Sends a push notification to a bot which will forward you a message containing the recent comment.

send_notification

Sends an email to a recipient listed in the configuration file when a new comment is posted, so long as the notification system is enabled (this check is elsewhere).