feat(outbound): SMTP relay sender with batching
- Add Sender interface - Add SMTPRelay sending in batches of 50 recipients per transaction - Add Fake sender that records messages for tests
This commit is contained in:
parent
d8f31d9b3e
commit
dd2818d392
1 changed files with 202 additions and 0 deletions
2
go.mod
2
go.mod
|
|
@ -4,11 +4,13 @@ go 1.27.1
|
|||
|
||||
require (
|
||||
github.com/emersion/go-message v0.18.2
|
||||
github.com/emersion/go-smtp v0.25.1
|
||||
modernc.org/sqlite v1.62.0
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/dustin/go-humanize v1.1.0 // indirect
|
||||
github.com/emersion/go-sasl v0.0.0-20241020182733-b788ff22d5a6 // indirect
|
||||
github.com/google/uuid v1.6.0 // indirect
|
||||
github.com/mattn/go-isatty v0.0.24 // indirect
|
||||
github.com/ncruces/go-strftime v1.1.0 // indirect
|
||||
|
|
|
|||
Loading…
Reference in a new issue