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

时间:2016-05-12 08:55:38

标签: c# mandrill

我使用Mandrill-dotnet 2.4.1.0从我的C#应用​​程序发送交易电子邮件。 每隔一段时间我就会收到一条错误消息:发布序列化错误:messages / send-template.json。

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

最诚挚的问候 托拜厄斯

1 个答案:

答案 0 :(得分:0)

我在Mandrill-dotnet版本2.4.1中看到,JsonException被吞下并变成了MandrillException(我们可以在sourcecode on github中查看)

但是,我认为您已经制作了a pull request and fixed this for version 2.4.181

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

您是否发现了对您添加到Mandrill-dotnet的其他改进的异常处理更有用的内容?