Skip to main content

load_notification_email_message

Function load_notification_email_message 

Source
pub fn load_notification_email_message(
    app: &AppRuntime,
    recipient: &str,
    template_id: &str,
    params_root: &Value,
) -> Option<EmailMessage>
Expand description

Loads one app-owned email template and renders it into a bounded outbound message.

§Parameters

§Returns

Returns Some when crate::runtime::business::load_notification_email_message can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::business::load_notification_email_message(todo!(), todo!(), todo!(), &serde_json::json!({}));