SMTP client for Zig
0

Configure Feed

Select the types of activity you want to include in your feed.

Fix typo in README for `build.zig.zon` -> `build.zig` (#3)

* Fix typo in README for `build.zig.zon` -> `build.zig`

* Fix typo in README `string` -> `smtp_client`

* Fix typo in README `Suject` -> `Subject`

authored by

bobf and committed by
GitHub
(Apr 16, 2024, 8:08 AM +0800) e79e4118 67654ae0

+3 -3
+3 -3
readme.md
··· 19 19 20 20 ``` 21 21 22 - And add this to you build.zig.zon 22 + And add this to you build.zig 23 23 24 24 ```zig 25 25 const smtp_client = b.dependency("smtp_client", .{ 26 26 .target = target, 27 27 .optimize = optimize, 28 28 }); 29 - exe.addModule("smtp_client", string.module("smtp_client")); 29 + exe.addModule("smtp_client", smtp_client.module("smtp_client")); 30 30 31 31 ``` 32 32 ··· 52 52 try smtp.send(.{ 53 53 .from = "admin@localhost", 54 54 .to = &.{"user@localhost"}, 55 - .data = "From: Admin <admin@localhost>\r\nTo: User <user@localhost>\r\nSuject: Test\r\n\r\nThis is karl, I'm testing a SMTP client for Zig\r\n.\r\n", 55 + .data = "From: Admin <admin@localhost>\r\nTo: User <user@localhost>\r\nSubject: Test\r\n\r\nThis is karl, I'm testing a SMTP client for Zig\r\n.\r\n", 56 56 }, config); 57 57 } 58 58 ```