统一SMTP事务入队并复核投递授权与邮件日期

将SMTP信封收件人与授权快照持久保存,按收件人投递并在执行前复核凭据状态;保留原邮件日期,新增队列元数据迁移并补齐相关回归用例源码。
This commit is contained in:
xuans committed 2026-09-27 23:14:02 +08:00
1 parent 7b380277f6
commit 3d6a59092d
16 files changed
+633 -375

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ type OutboundDelivery struct {
Attempts int `xorm:"notnull"`
NextAttempt int64 `xorm:"notnull"`
LastError string `xorm:"text"`
Submission string `xorm:"text" json:"-"`
}
func (OutboundDelivery) TableName() string { return "outbound_delivery" }