An SMTP server is a service runnning on a machine that has an IP address and
usually a domain name.
So, to get the name of the SMTP server, you must first know the IP Address
or domainname of the machine it is running on, and the port on which the SMTP
service is listening (usually port 25).
Hope that helps.
Peter