[][src]Function oration::notify::send_notification

pub fn send_notification(
    form: &FormInput,
    notify: &Notifications,
    host: &str,
    blog_name: &str,
    ip_addr: &str
) -> Result<(), Error>

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).