mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
Updated Lua Examples (markdown)
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user