How to know provider mail of email

There are a few ways to find the provider's email address (also known as the "MX record" or "mail exchanger record") of an email address:

Method 1: Using the dig command (for Linux/macOS)

  1. Open a terminal or command prompt.
  2. Type dig +short mx <email_address> (replace <email_address> with the email address you want to find the provider for).
  3. Press Enter.
  4. The output will show the mail exchanger records (MX records) for the email address, including the provider's mail server.

Example:

$ dig +short mx [email protected]
10 mail.google.com.

In this example, the provider's mail server is mail.google.com.

Method 2: Using a DNS lookup tool (online)

  1. Go to a DNS lookup tool website, such as WhatIsMyDNS.net or DNSChecker.org.
  2. Enter the email address you want to find the provider for in the search bar.
  3. Click the "Lookup" or "Check" button.
  4. The tool will display the MX records for the email address, including the provider's mail server.

Example:

WhatIsMyDNS.net: Enter "[email protected]" and click "Lookup"

Method 3: Using an email client or webmail interface

  1. Open your email client (e.g., Gmail, Outlook, Yahoo Mail) or webmail interface.
  2. Log in to your account.
  3. Click on the "Settings" or "Options" menu.
  4. Look for the "Mail Server" or "SMTP Server" settings.
  5. The provider's mail server will be listed in these settings.

Example:

Gmail: Log in to Gmail, click on the gear icon, then "See all settings", then "Accounts and Import", and look for the "SMTP Server" setting.

Remember that the provider's mail server may not always be the same as the email address's domain name (e.g., [email protected] has a mail server of mail.google.com, not gmail.com).