pub fn code(code: INT, text: &str) -> Result<VSLObject, Box<EvalAltResult>>
Expand description

A SMTP code with the code and message as parameter.

let code = code(250, "Ok");
let enhanced = code(451, "5.7.3", "STARTTLS is required to send mail");

rhai-autodocs:index:10