1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

Updated Lua Examples (markdown)

James Hillyerd
2023-02-28 13:51:34 -08:00
parent 67aaa26b52
commit 31c9cc2acd

@@ -6,7 +6,7 @@ By default Inbucket will load `inbucket.lua`, but you may use the `INBUCKET_LUA_
This event fires when Inbucket is evaluating an SMTP "MAIL FROM" command. This event fires when Inbucket is evaluating an SMTP "MAIL FROM" command.
Denies mail that does is not from james*@example.com: Denies mail that is not from james*@example.com:
```lua ```lua
function inbucket.before.mail_accepted(from_localpart, from_domain) function inbucket.before.mail_accepted(from_localpart, from_domain)