以编程方式配置Outlook邮件设置? [英] Configure Outlook Mail Settings Programmatically?
问题描述
是否想知道是否有一种简单的方法可以通过编程方式将POP3服务器添加和配置到Outlook的邮件服务器设置中?
Was wondering if there was a simple way to add and configure a POP3 server to Outlook's mail server settings programmatically?
搜索Google似乎产生的结果告诉我,我必须对存储在HKCU \ Software \ Microsoft \ Windows NT \ Windows Messaging Subsystem \ Profiles下的gobbledygook进行反向工程.我的老板想看看是否有可能快速启动一个程序来配置用户的POP3设置(我们在全国范围内分布),到目前为止,这看起来并不简单.
Searching Google seems to yield results that tell me I have to reverse-engineer the gobbledygook stored under HKCU\Software\Microsoft\Windows NT\Windows Messaging Subsystem\Profiles. My employer wanted to see if it was possible to quickly bang out a program to configure our users' POP3 settings (we're spread out around the country) and so far this is looking anything but simple.
我可以使用VS2008和所有Windows/Office内置脚本工具,尽管我不太熟悉C ++(只有C,C#和一些Web/Linux东西,我是自学成才的).
I have VS2008 and all the Windows/Office built-in scripting tools at my disposal, though I don't know a lick of C++ (only C, C# and some web/linux stuff, I am self-taught).
有人知道有一种更简单的方法来访问Outlook的邮件配置文件以对其进行添加或调整吗?
Does anyone know of a simpler way to access Outlook's mail profiles in order to add to or tweak them?
谢谢!
汤姆
推荐答案
Outlook支持使用PRF文件作为添加/配置邮件帐户的方法: http://technet.microsoft.com/en-us/library/cc179062(office.12).aspx
Outlook supports the PRF file as a means to add/configure mail accounts: http://technet.microsoft.com/en-us/library/cc179062(office.12).aspx
您可以将文件本身分发给用户,也可以编写实用程序来创建它并使用Outlook打开它.
You could distribute the file itself to your users, or write a utility to create it and open it with Outlook.
这篇关于以编程方式配置Outlook邮件设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!