Atomic message delivery interface
Open
- Dominant language
- Go
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
For SMTP/LMTP-based message delivery, there should be an interface that allows message to be efficiently (and preferrably atomically) stored into a mailbox of multiple accounts.
```go
type Delivery interface {
Rcpt(ctx context.Context, accountName string, folderRole folder.Role) error
Size(bodySize uint64) error
Body(r io.Reader) error
Commit() error
Close() error
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.