简体   繁体   English

最新版本的 Chilkat (9.5.0.93) UnpackHtml 失败

[英]UnpackHtml is failing with latest version of Chilkat (9.5.0.93)

Using a previous version of chilkat (9.5.0.84) 32-bit Chilkat for .NET 4.7, we used mail.UnpackHtml successfully使用之前版本的chilkat(9.5.0.84) 32-bit Chilkat for .NET 4.7,成功使用mail.UnpackHtml

After upgrading to the latest version of chilkat (9.5.0.93) UnpackHtml is returning false and not creating a html file升级到最新版本的 chilkat (9.5.0.93) 后,UnpackHtml 返回 false 且未创建 html 文件

We are passing the directory path as a windows drive mapping "E:\tmp\mail";我们将目录路径作为 windows 驱动器映射“E:\tmp\mail”传递; the call to UnpackHtml returns false and the file has not been created对 UnpackHtml 的调用返回 false 并且文件尚未创建

However on further investigation, if the directory is passed as a UNC path “\localmachinename\e$\tmp\mail” - the call to UnpackHtml returned true and the file has been created然而,在进一步调查中,如果目录作为 UNC 路径“\localmachinename\e$\tmp\mail”传递 - 对 UnpackHtml 的调用返回 true 并且文件已创建

We need to upgrade to 9.5.0.93 to resolve an issue we had with connecting to Microsoft Graph, but this issue will cause us problems with our existing setup.我们需要升级到 9.5.0.93 来解决我们在连接到 Microsoft Graph 时遇到的问题,但这个问题会给我们现有的设置带来问题。

The UnpackHtml methods was working as it should. UnpackHtml 方法正常工作。 The mistake was in passing a full absolute file path in the 3rd argument (partsSubDir), which should've been just the name of the subdirectory.错误在于在第三个参数 (partsSubDir) 中传递了完整的绝对文件路径,它应该只是子目录的名称。 See https://www.chilkatsoft.com/refdoc/csEmailRef.html#method178参见https://www.chilkatsoft.com/refdoc/csEmailRef.html#method178

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM