Merge pull request #129 from z1fire/wip

Added imports to mailers
This commit is contained in:
bobf 2024-11-29 23:20:01 +00:00 committed by GitHub
commit e8ce232700
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,6 +39,11 @@ pub fn run(allocator: std.mem.Allocator, cwd: std.fs.Dir, args: [][]const u8, he
}; };
try mailer_file.writeAll( 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. \\// 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 \\// Use this function to set default mail params (e.g. a default `from` address or
\\// `subject`) before the mail is delivered. \\// `subject`) before the mail is delivered.