This tutorial helps you to determine the mail server for any email address. This is helpful to identified SMTP mail sever to use or configure Outlook. In day to day work I need to troubleshoot email ID with mail hosting server, so this syntax is very useful for me, if you don't kown the mail server just use following syntax to identify the mail server mail.domainname.com or smtp.domainname.com, it those doesn't work then you need to follow below steps. (change "domainname" with your desire domain.) 1. Open a DOS Command Prompt 2. Type "nslookup" 3. Your computer's DNS server name and IP address will be displayed. 4. Now just type "set type=mx" - this will force NSLOOKUP to shows Mail eXchange records from the DNS servers. 5. You can try using gmail.com or use your own domain name. 6. you can see below output.