.net 调用outlook将msg另存为txt

主要是权限问题

在组件服务里管理outlook增加权限后需要在注册表中增加权限

来源:
http://kb.funcshun.com/microsoft-outlook-2010-saving-file-error-cannot-create-file-filename-right-click-the-folder-you-want-to-create-the-file-in-and-then-click-properties-on-the-shortcut-menu-to-check-your-permiss/


Microsoft Outlook 2010 error “Cannot create file: “filename”. Right-click the folder you want to create the file in, and then click Properties on the shortcut menu to check your permissions for the folder” when trying to right click and save-as.


Capture


1.  Close Outlook 2010


2.  Click on Start


3.  Click on Computer


4.  Click on C:\ drive


5.  Create new folder on the root, lable “temp1”


6.  Click on Start, click Run, type regedit, and then click OK.


7.  Locate and then click the following registry key:  HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security\


8.  It’s good practice to do a backup of any registry keys you modify.  In this case lets right-click the folder Security and click Export, then save as desired.


8.  In the right pane, double-click" OutlookSecureTempFolder "or right-click and click Modify.


9.  In the Value Data field, type the path of the folder you created if different than the above "C:\temp1"


10.  Exit Registry Editor


11.  Restart the computer.


12.  Once computer is back on, open Outlook and attempt to save any attachment.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值