Repository navigation
fix(TAP-13168): 邮件连接测试提示被拒收件地址 - #666
Merged
Merged
Conversation
邮件连接测试部分送达时,提示已送达地址与被邮件服务器拒绝的地址, 便于用户定位并清理失效邮箱。 Co-Authored-By: Claude Code <noreply@anthropic.com>
部分送达时接口已返回完整堆栈,但提示只有一行文字,无法查看被拒地址的具体原因。 在警告提示中增加「查看详情」,复用既有 ErrorMessage 弹窗展示堆栈。 Co-Authored-By: Claude Code <noreply@anthropic.com>
weiliang110100
marked this pull request as ready for review
October 29, 2026 09:15
This was referenced Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与变更
邮件连接测试时,如果收件人里有任何一个邮箱不可用,此前整封邮件都会发送失败,且界面只显示一个通用错误,看不出是哪个地址有问题。
后端配套改动(
tapdata/tapdata)启用群发容错后,接口会额外返回validSentAddresses/failedAddresses。本 PR 据此改善提示:result=true且存在失败地址时,弹出警告:「部分收件地址不可用:邮件已发送给 X;以下地址被邮件服务器拒绝,请检查并移除:Y」result=false时回退为明确的发送失败提示,仍可查看详情新增 i18n:
setting_test_email_partial_error(中/繁/英)、setting_test_email_error。验证
pnpm install --frozen-lockfilepnpm build:daas{0}/{1}占位一致未覆盖:未做真实浏览器的界面点击验证,警告文案的实际渲染效果需在联调环境确认。
风险与依赖
tapdata/tapdata配套 PR 新增的failedAddresses字段;字段缺失时自动回退到原有错误提示,不会报错。🤖 Generated with Claude Code