Function mas_templates::check::render_email_verification_txt
source · pub fn render_email_verification_txt(
templates: &Templates,
now: DateTime<Utc>,
rng: &mut impl Rng,
) -> Result<()>
Expand description
Render the emails/verification.txt
template with sample contexts
§Errors
Returns an error if the template fails to render with any of the sample.