
To find your SMTP server IP address, first identify your email provider (such as Gmail, Outlook, or your web hosting company), then locate the SMTP hostname in your email settings (for example, smtp.gmail.com) and use tools like DNS lookup, command prompt, or online MX/IP lookup services to resolve that hostname into its actual IP address. Once you have the IP, you can use it for firewall rules, server whitelisting, or advanced email troubleshooting.
Now let’s break this down properly, step by step, so you can find your SMTP server IP address no matter which email service you’re using.
How Do I Find My SMTP Server IP Address? Step-by-Step Guide
Step 1: Find Your SMTP Server Hostname (Most Important Step)
Before finding the IP, you must know the SMTP server name.
Common SMTP Hostnames
Email Provider SMTP Server
| Gmail |
smtp.gmail.com |
| Outlook / Hotmail |
smtp.office365.com |
| Yahoo Mail |
smtp.mail.yahoo.com |
| Zoho Mail |
smtp.zoho.com |
| cPanel Email |
mail.yourdomain.com |
Where to find it:
-
Email app settings (Outlook, Thunderbird, Apple Mail)
-
Webmail → Email configuration
-
Hosting provider documentation
Step 2: Find SMTP Server IP Using Command Prompt (Windows)
This is one of the fastest and most reliable methods.
Steps:
-
Press Windows + R
-
Type cmd and press Enter
-
Run this command:
-
The result will show one or more IP addresses
Any listed IP can be used depending on your requirement.
How Do I Find My SMTP Server IP Address? Step-by-Step Guide
Step 1: Find Your SMTP Server Hostname (Most Important Step)
Before finding the IP, you must know the SMTP server name.
Common SMTP Hostnames
Email Provider SMTP Server
| Gmail |
smtp.gmail.com |
| Outlook / Hotmail |
smtp.office365.com |
| Yahoo Mail |
smtp.mail.yahoo.com |
| Zoho Mail |
smtp.zoho.com |
| cPanel Email |
mail.yourdomain.com |
Where to find it:
-
Email app settings (Outlook, Thunderbird, Apple Mail)
-
Webmail → Email configuration
-
Hosting provider documentation
Step 2: Find SMTP Server IP Using Command Prompt (Windows)
This is one of the fastest and most reliable methods.
Steps:
-
Press Windows + R
-
Type cmd and press Enter
-
Run this command:
-
The result will show one or more IP addresses
Any listed IP can be used depending on your requirement.
Read More: How Do I Find My SMTP Server IP Address?
Comments