Skip to content

Commit

Permalink
Merge pull request #129 from z1fire/wip
Browse files Browse the repository at this point in the history
Added imports to mailers
  • Loading branch information
bobf authored Nov 29, 2024
2 parents ac60032 + 50bcda1 commit e8ce232
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 e8ce232

Please sign in to comment.