This section reference all Rhai functions used through the rule engine and vSMTP configuration. Those functions are split by modules.
- All standard functions available for email filtering. (referred by the
- Operators. (referred by the
- Objects getters. (referred by the
- Objects setters. (referred by the
Documentation for each function is written using markdown, and is split between sections (tabs):
|Args||Arguments to pass to the function.|
|Return||Value that the function returns.|
|Effective SMTP Stages||SMTP stages where this function can be called from.|
|Note||Additional comments for the function.|
|Examples||Code examples using the function.|
|Errors||Errors that can happen during the execution of the function.|
fn hello_world() -> String
- Effective smtp stage
This function returns a "hello world!" string.
All of them!
String- A "hello world!" string.
let hello_world = hello_world(); // Returns "Hello World!".