uipath - 自动化 Outlook 电子邮件错误加载库
问题描述
嗨,我正在尝试自动发送带有 excel 文件附件的电子邮件,但是我收到一条错误消息
Send Outlook Mail Message: Unable to cast COM object of type 'Microsoft.Office.Interop.Outlook.ApplicationClass' to interface type 'Microsoft.Office.Interop.Outlook._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063001-0000-0000-C000-000000000046}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).
在线解决方案主要建议删除旧的 office 密钥,但是我目前使用的是 2016 版本并且不确定要删除什么,是否有任何其他活动可以用来发送 Outlook 电子邮件。提前致谢
解决方案
推荐阅读
- node.js - 节点创建进程作为核心数
- delphi - 如何跟踪服务火鸟
- javascript - 如何将选定的值存储在反应组合框中
- python-3.x - 如何从字典列表中检索键的值?
- shell - 如何返回一个文件夹并在docker中运行
- python - pandas 支持哪些绘图后端支持 DataFrame?
- jupyter-notebook - 如何在 RHEL5 云机中使用 Jupyter Notebook
- python - 如何使 Python 脚本在计算机系统处于睡眠模式时连续运行?(苹果系统)
- java - 如何将数组添加到 firebase 数据库中的项目?
- wpf - 在 XAML 中创建列表时创建列表的控件成员