From 50bcda1cbeef99cfca5b27930040e8d30a65f868 Mon Sep 17 00:00:00 2001 From: z1fire Date: Fri, 29 Nov 2024 17:55:09 -0500 Subject: [PATCH] Added imports to mailers --- cli/commands/generate/mailer.zig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cli/commands/generate/mailer.zig b/cli/commands/generate/mailer.zig index 2d50e00..8853b06 100644 --- a/cli/commands/generate/mailer.zig +++ b/cli/commands/generate/mailer.zig @@ -39,6 +39,11 @@ pub fn run(allocator: std.mem.Allocator, cwd: std.fs.Dir, args: [][]const u8, he }; try mailer_file.writeAll( + \\const std = @import("std"); + \\const jetzig = @import("jetzig"); + \\ + \\ + \\ \\// The `deliver` function is invoked every time this mailer is used to send an email. \\// Use this function to set default mail params (e.g. a default `from` address or \\// `subject`) before the mail is delivered.