积极答复者
如何利用C#编写程式快速部署Outlook邮箱

问题
答案
-
你好:
我搜索了下,在这篇帖子里面找到了一个比较简单的方法:
How to configure Outlook account via C#?
首先创建一个Outlook配置文件:
使用 Outlook 配置文件 (PRF) 文件自定义 Outlook 配置文件
然后通过C#的Process类启动Outlook,给它设定一个参数,导入配置文件:
outlook.exe /importprf C:\SomePath\FileName.prf
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已标记为答案 MarvinKung 2014年11月10日 6:46
全部回复
-
你好:
我搜索了下,在这篇帖子里面找到了一个比较简单的方法:
How to configure Outlook account via C#?
首先创建一个Outlook配置文件:
使用 Outlook 配置文件 (PRF) 文件自定义 Outlook 配置文件
然后通过C#的Process类启动Outlook,给它设定一个参数,导入配置文件:
outlook.exe /importprf C:\SomePath\FileName.prf
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已标记为答案 MarvinKung 2014年11月10日 6:46
-
你好:
可以参考这篇文章:
http://technet.microsoft.com/en-us/library/cc179062(v=office.14).aspx#BKMK_CreatingPRFFiles
可以使用一些工具来创建,比如:http://goffconcepts.com/products/profiler/
通过代码的方式好像不太好直接创建,可以尝试调用这些工具来创建。PRF文件其实就是文本文件,可以尝试直接读写里面的属性字段。具体每个字段代表什么意思可以参考第一篇文档,同时参考这篇文章:
http://www.slipstick.com/outlook/config/understanding-microsoft-outlook-profile-file-prf/
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.