C# Mandrill-dotnet SendMessageTemplate 序列化错误发布

Tob*_*bis 5 c# mandrill

我使用Mandrill-dotnet 2.4.1.0 从我的 C# 应用程序发送事务电子邮件。我经常收到一条错误消息:发布序列化错误:messages/send-template.json。

检查 Mandrill 时,我尝试发送的电子邮件已发送,因此响应中的数据可能存在问题。有时我可以看到错误发生时存在积压,但我不能确定这就是问题所在。我很难找出这个错误的根源是什么,并且希望能找到解决此问题的方法,因为似乎很难找到 Mandrill-dotnet 代码中的实际错误。

最好的问候托比亚斯

Hen*_*y C 1

我看到在Mandrill-dotnet版本2.4.1中,JsonException被吞掉并变成了MandrillException(我们可以在github上查看源代码

但是,我认为您已经提出了拉取请求并修复了版本 2.4.181 的问题

据我所知,到目前为止,错误的来源似乎是暂时的:在错误发生之前和之后,类似的内容将通过 Mandrill API 绝对正常地发布,没有问题,但一团将导致序列化失败。

通过添加到 Mandrill-dotnet 中的额外改进的异常处理,您是否发现了任何进一步有用的信息?