从注册表中读取Windows Live Mail帐户设置? [英] Reading Windows Live Mail account settings from the registry?

查看:108
本文介绍了从注册表中读取Windows Live Mail帐户设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如何在Rregistry中找到Windows Live Mail默认邮件帐户的代码,作为HKCU \ Software &\\ Myoftoft \ Windows Live Mail下的值。 (它也在HKCU \Software \ Microoft \Internet Account Manager Live下。)但我想真正阅读该帐户的设置,查看SMTP服务器,SMTP端口,电子邮件地址等。

这适用于可配置为发送电子邮件的应用程序。它主要不是电子邮件客户端,但它具有一些电子邮件合并功能。我希望能够确定默认邮件客户端(我知道该怎么做),然后找到该客户端上的默认帐户(例如Outlook,Outlook Express,Windows Live Mail等)并从该帐户读取SMTP设置。这样可以节省我的所有用户,其中许多用户并不是非常了解计算机知识,不必弄明白这一点。

我已经毫不费力地想办法为Outlook和Outlook Express做些什么,但WLM似乎不太透明,我找不到任何带有这些答案的网络资源,就像我可以为其他电子邮件客户端一样。

帮助?谢谢。

解决方案

你不得不稍微喋喋不休。这些设置位于名为account {GUID} .oeaccount的小xml文件中,其中GUID与您找到的帐户代码相匹配。该文件位于一个文件夹中,该文件夹的名称可能与用户给该帐户的名称相同,但我认为该文件夹名称不会记录在注册表中。它位于Store文件夹的根目录中,其地址在HKCU \Software \ Microoft \ Windows Live Mail \Store Root中给出。

好的狩猎!
诺尔

I know how to find a code for the Default Mail Account for Windows Live Mail in the Rregistry, as a value under HKCU\Software\Microsoft\Windows Live Mail. (It's also under HKCU\Software\Microsoft\Internet Account Manager Live.) But I then want to actually read the settings from that account, to see the SMTP Server, SMTP Port, Email Address etc. etc.

This is for an application that can be configured to send out emails. It's not primarily an email client, but it has some email mail merge capabilities. I want to have it be able to determine the default mail client (which I know how to do) then find the default account on that client (e.g. Outlook, Outlook Express, Windows Live Mail etc.) and read the SMTP settings from that account. That saves all of my users, many of whom are not extremely computer literate, from having to figure this out.

I have had no difficulty figuring out how to do that for Outlook and Outlook Express, but WLM seems to be much less transparent, and I can't find any web resources with these answers, as I could for the other email clients.

Help? Thanks.

解决方案

You'll have to ferret around a bit. The settings are in a little xml file called account{GUID}.oeaccount, where GUID matches the account code you've found. The file lives in a folder whose name may be the same as that given to the account by the user, but I don't think that folder name is recorded in the registry. It lives in the root of the Store folder, whose address is given at HKCU\Software\Microsoft\Windows Live Mail\Store Root.

Good hunting!

Noel


这篇关于从注册表中读取Windows Live Mail帐户设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆