Retrieve SMTP server name from Outlook 2003

S

SerialHobbyist

I'm writing a email game which sends turn-files from one player to
another. I'd like to make the configuration as simple as possible. At
the moment, I can detect the default mailer client and, if it's Outlook
Express, retrieve the SMTP server name from the registry. But, I can't
find any entries for Outlook 2003. Does anyone know where Outlook 2003
stores the SMTP server name?

I realise that this might be the sort of question that some
script-kiddie might ask so they can do something nasty so I'm quite
willing to mail you the current version of my game (0.4) and the code so
that you can see I'm genuine.

Regards

SH
 
B

Brian Tillman

SerialHobbyist said:
I'm writing a email game which sends turn-files from one player to
another. I'd like to make the configuration as simple as possible.
At the moment, I can detect the default mailer client and, if it's
Outlook Express, retrieve the SMTP server name from the registry.
But, I can't find any entries for Outlook 2003. Does anyone know
where Outlook 2003 stores the SMTP server name?

I would think that it, too, would be in the Registry under
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles.
 
S

SerialHobbyist

Brian said:
I would think that it, too, would be in the Registry under
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles.

You're absolutely right. The difference between OE and Outlook 2003
being that the Outlook 2003 data is stored as a REG_BINARY rather than a
REG_SZ.

Thanks very much for your help.

SH
 

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

Top