pub fn mail(ncc: NativeCallContext<'_>) -> EngineResult<String>
Expand description

Get a copy of the whole email as a string.

Effective smtp stage

preq and onwards.

Example

#{
    postq: [
       action "display email content" || log("trace", `email content: ${msg::mail()}`),
    ]
}

rhai-autodocs:index:11