Skip to content

feat: Add Before RCPT TO Accepted event#541

Merged
jhillyerd merged 1 commit intomainfrom
smtpsession
Oct 13, 2024
Merged

feat: Add Before RCPT TO Accepted event#541
jhillyerd merged 1 commit intomainfrom
smtpsession

Conversation

@jhillyerd
Copy link
Copy Markdown
Collaborator

@jhillyerd jhillyerd commented Oct 13, 2024

  • Add SMTPSession type for extensions
  • Define & wire BeforeRcptToAccepted event
  • Define inbucket.before.rcpt_to_accepted lua handler

@coveralls
Copy link
Copy Markdown

coveralls commented Oct 13, 2024

Pull Request Test Coverage Report for Build 11318172755

Details

  • 88 of 107 (82.24%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.6%) to 56.766%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/extension/luahost/bind_inbucket.go 2 4 50.0%
pkg/extension/luahost/lua.go 20 25 80.0%
pkg/extension/luahost/bind_smtpsession.go 38 50 76.0%
Totals Coverage Status
Change from base Build 11197781004: 0.6%
Covered Lines: 2819
Relevant Lines: 4966

💛 - Coveralls

@jhillyerd jhillyerd merged commit 9f90a59 into main Oct 13, 2024
@jhillyerd jhillyerd deleted the smtpsession branch October 13, 2024 22:29
gregorwolf pushed a commit to gregorwolf/inbucket that referenced this pull request Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants