Outlook Express Registry Help

J

Jon

Hello all,

Trying to write an application for my workplace that requires us to
setup an email account in Outlook Express. At this time, the app sets
the account up, enters a username, sets the 'remember password'
selection, however I cannot seem to figure out how to store the actual
password.

I have researched for many hours now, and am at a loss. I have found
that the password is actually stored in the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Internet Account
Manager\Accounts\000000x (x=account incrementer)\Pop3 Password2

So, while I can write the key for the Pop3 Password2, it stores nothing
but garbage data, and my users are still forced to enter the password
manually before it is saved.

Does anyone have any experience and/or advice for me in this realm?
Google hasn't been much help, and I'm at a loss. Thank you in advance.
 
V

Victor Bazarov

Jon said:
Trying to write an application for my workplace that requires us to
setup an email account in Outlook Express. [...]

Does anyone have any experience and/or advice for me in this realm?

Somebody in one of 'microsoft.public.*' newsgroups must...
 
P

Phlip

Jon said:
Trying to write an application for my workplace that requires us to
setup an email account in Outlook Express.

If the requirement is to send an e-mail, google for Blat, and call it with
system("").

Otherwise, you are asking the wrong newsgroup a non-C++ question about an
undocumentable interface in a vendor-specific system for a
security-sensitive feature using a notoriously fragile Registry.

Danger, Will Robinson!
 
J

Jon

Phlip said:
Jon wrote:




If the requirement is to send an e-mail, google for Blat, and call it with
system("").

Otherwise, you are asking the wrong newsgroup a non-C++ question about an
undocumentable interface in a vendor-specific system for a
security-sensitive feature using a notoriously fragile Registry.

Danger, Will Robinson!

I just wasn't sure where to post it - The Application I have is written
in C++, so it's a half-C++, half-Microsoft thing at this point. I'm at a
loss.
 
J

John Carson

Jon said:
I just wasn't sure where to post it - The Application I have is
written in C++, so it's a half-C++, half-Microsoft thing at this
point. I'm at a loss.

Half C++, half-Microsoft questions belong in the Microsoft newsgroups. I
suggest you go to

microsoft.public.vc.language

If they can't help you, they can probably direct you to somewhere that can.
 
P

Phlip

Jon said:
I just wasn't sure where to post it - The Application I have is written
in C++, so it's a half-C++, half-Microsoft thing at this point. I'm at a
loss.

And the 3.7 billion newsgroups on MS's news server can't help??

Please please please use Blat.exe. Writing a SNMP user agent from scratch is
simpler than hacking Outlook...
 
J

Jon

Posted there, thanks a ton for the direction :)

John said:
Half C++, half-Microsoft questions belong in the Microsoft newsgroups. I
suggest you go to

microsoft.public.vc.language

If they can't help you, they can probably direct you to somewhere that can.
 
J

Jon

I just wasn't sure which one - I've posted in 2 now, hoping to get some
direction that way.

Can Blat.exe be integrated into an already-created C++ application? As
of now, this is a branded application for a company that is going out to
thousands of users, so anything beyond editing the current app is out of
our scope at this time.
 
P

Phlip

Jon said:
Can Blat.exe be integrated into an already-created C++ application? As
of now, this is a branded application for a company that is going out to
thousands of users, so anything beyond editing the current app is out of
our scope at this time.

(Well, Blat's off topic here too, so nobody will complain about me guessing
wildly about it.)

You integrate Blat by writing a text file, then calling a command line like
this:

system("blat.exe (e-mail address removed) -send file.txt");

Or something like that. The cheapest integration is with system(). If you
write a Win32 application, system() may flash a black console.

I don't know what Blat's license terms are. You might be able to just toss
it onto your install CD. There are libraries like Blat, and it might come
with source.

Anything but Outlook, okay??
 
J

Jon

Yeah, Outlook isn't an issue here, just cheesy-old OE :p

Thanks for the advice, I've bookmarked their site and will look into it
if I don't get another answer to my current problem soon. Thanks again
to all.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top