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.