mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 18:17:03 +00:00
extension: Add BeforeMailAccepted event (#320)
Signed-off-by: James Hillyerd <james@hillyerd.com> Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
@@ -243,7 +243,7 @@ func startServer() (func(), error) {
|
||||
go webServer.Start(svcCtx, func() {})
|
||||
|
||||
// Start SMTP server.
|
||||
smtpServer := smtp.NewServer(conf.SMTP, mmanager, addrPolicy)
|
||||
smtpServer := smtp.NewServer(conf.SMTP, mmanager, addrPolicy, extHost)
|
||||
go smtpServer.Start(svcCtx, func() {})
|
||||
|
||||
// TODO Use a readyFunc to determine server readiness.
|
||||
|
||||
Reference in New Issue
Block a user