Find SMTP Address

Hi All,

I am using a Win 2k8 box and trying to find the Default SMTP address of the machine.

I cant find anything in the registry that can give me the SMTP Address.

I tried searching in the registry entry : \Software\Microsoft\Internet Account Manager
but no luck.

I can't use third party assemblies. Need standard C++ code.

Any help will be appreciated.

Thanks
This is not a C++ question. It's a network admin question.

Default SMTP address of a machine? There isn't one.

The (default) SMTP port is 25. You'll need to determine the network address that your SMTP server is bound to. If you have one (non-loopback) network address that'll be it I guess.
Topic archived. No new replies allowed.