Retrieve SMTP server name from Outlook 2003

  • Thread starter Thread starter SerialHobbyist
  • Start date Start date
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
 
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.
 
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
 
Back
Top