Skip to content

Commit

Permalink
Added imports to mailers
Browse files Browse the repository at this point in the history
  • Loading branch information
z1fire committed Nov 29, 2024
1 parent ac60032 commit 50bcda1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cli/commands/generate/mailer.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 50bcda1

Please sign in to comment.