mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 22:16:08 +00:00

Create mailers with `jetzig generate mailer <name>`. Mailers define default values for email fields (e.g. subject, from address, etc.). Mailers use Zmpl for rendering text/HTML parts. Send an email from a request with `request.mail()`. Call `deliver(.background, .{})` on the return value to use the built-in mail job to send the email asynchronously. Improve query/HTTP request body param parsing - unescape `+` and `%XX` characters.
36 lines
1.4 KiB
Zig
36 lines
1.4 KiB
Zig
.{
|
|
.name = "jetzig",
|
|
.version = "0.0.0",
|
|
.dependencies = .{
|
|
.zmd = .{
|
|
.url = "https://github.com/jetzig-framework/zmd/archive/901e4ce55cdbfd82c42cfd4feb3a1682dab4b418.tar.gz",
|
|
.hash = "12207d49df326e0c180a90fa65d9993898e0a0ffd8e79616b4b81f81769261858856",
|
|
},
|
|
.zmpl = .{
|
|
.url = "https://github.com/jetzig-framework/zmpl/archive/4511ae706e8679385d38cc1366497082f8f53afb.tar.gz",
|
|
.hash = "1220d493e6fdfaccbafff41df2b7b407728ed11619bebb198c90dae9420f03a6d29d",
|
|
},
|
|
.args = .{
|
|
.url = "https://github.com/MasterQ32/zig-args/archive/01d72b9a0128c474aeeb9019edd48605fa6d95f7.tar.gz",
|
|
.hash = "12208a1de366740d11de525db7289345949f5fd46527db3f89eecc7bb49b012c0732",
|
|
},
|
|
.jetkv = .{
|
|
.url = "https://github.com/jetzig-framework/jetkv/archive/a6fcc2df220c1a40094e167eeb567bb5888404e9.tar.gz",
|
|
.hash = "12207bd2d7465b33e745a5b0567172377f94a221d1fc9aab238bb1b372c64f4ec1a0",
|
|
},
|
|
.smtp_client = .{
|
|
.url = "https://github.com/karlseguin/smtp_client.zig/archive/e79e411862d4f4d41657bf41efb884efca3d67dd.tar.gz",
|
|
.hash = "12209907c69891a38e6923308930ac43bfb40135bc609ea370b5759fc2e1c4f57284",
|
|
},
|
|
},
|
|
|
|
.paths = .{
|
|
"",
|
|
"build.zig",
|
|
"build.zig.zon",
|
|
"src/jetzig",
|
|
"LICENSE",
|
|
"README.md",
|
|
},
|
|
}
|