Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 36789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:26:54+00:00 2026-05-10T14:26:54+00:00

For the past few weeks, I’ve been trying to learn about just how email

  • 0

For the past few weeks, I’ve been trying to learn about just how email works. I understand the process of a client receiving mail from a server using POP pretty well. I also understand how a client computer can use SMTP to ask an SMTP server to send a message. However, I’m still missing something…

The way I understand it, outgoing mail has to make three trips:

  1. Client (gmail user using Thunderbird) to a server (Gmail)
  2. First server (Gmail) to second server (Hotmail)
  3. Second server (Hotmail) to second client (hotmail user using OS X Mail)

As I understand it, step one uses SMTP for the client to communicate. The client authenticates itself somehow (say, with USER and PASS), and then sends a message to the gmail server.

However, I don’t understand how gmail server transfers the message to the hotmail server.

For step three, I’m pretty sure, the hotmail server uses POP to send the message to the hotmail client (using authentication, again).

So, the big question is: when I click send Mail sends my message to my gmail server, how does my gmail server forward the message to, say, a hotmail server so my friend can recieve it?

Thank you so much!

~Jason


Thanks, that’s been helpful so far.

As I understand it, the first client sends the message to the first server using SMTP, often to an address such as smtp.mail.SOMESERVER.com on port 25 (usually).

Then, SOMESERVER uses SMTP again to send the message to RECEIVESERVER.com on port 25 (not smtp.mail.RECEIVESERVER.com or anything fancy).

Then, when the recipient asks RECEIVESERVER for its mail, using POP, s/he recieves the message… right?

Thanks again (especially to dr-jan),

Jason

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T14:26:54+00:00Added an answer on May 10, 2026 at 2:26 pm

    The SMTP server at Gmail (which accepted the message from Thunderbird) will route the message to the final recipient.

    It does this by using DNS to find the MX (mail exchanger) record for the domain name part of the destination email address (hotmail.com in this example). The DNS server will return an IP address which the message should be sent to. The server at the destination IP address will hopefully be running SMTP (on the standard port 25) so it can receive the incoming messages.

    Once the message has been received by the hotmail server, it is stored until the appropriate user logs in and retrieves their messages using POP (or IMAP).

    Jason – to answer your follow up…

    Then, SOMESERVER uses SMTP again to send the message to RECEIVESERVER.com on port 25 (not smtp.mail.RECEIVESERVER.com or anything fancy).

    That’s correct – the domain name to send to is taken as everything after the ‘@’ in the email address of the recipient. Often, RECEIVESERVER.com is an alias for something more specific, say something like incoming.RECEIVESERVER.com, (or, indeed, smtp.mail.RECEIVESERVER.com).

    You can use nslookup to query your local DNS servers (this works in Linux and in a Windows cmd window):

    nslookup > set type=mx > stackoverflow.com Server:         158.155.25.16 Address:        158.155.25.16#53  Non-authoritative answer: stackoverflow.com       mail exchanger = 10 aspmx.l.google.com. stackoverflow.com       mail exchanger = 20 alt1.aspmx.l.google.com. stackoverflow.com       mail exchanger = 30 alt2.aspmx.l.google.com. stackoverflow.com       mail exchanger = 40 aspmx2.googlemail.com. stackoverflow.com       mail exchanger = 50 aspmx3.googlemail.com.  Authoritative answers can be found from: aspmx.l.google.com      internet address = 64.233.183.114 aspmx.l.google.com      internet address = 64.233.183.27 >                   

    This shows us that email to anyone at stackoverflow.com should be sent to one of the gmail servers shown above.

    The Wikipedia article mentioned (http://en.wikipedia.org/wiki/Mx_record) discusses the priority numbers shown above (10, 20, …, 50).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to learn Action Script 3 the past few weeks, making tiny
Over the past few weeks it seems like I've been interrupted by maintenance tasks
I've been curious in the past few months in trying my hand at doing
I've been for the past few hours trying to figure out why openCV doesn't
in the past few weeks I have heard about a phenomenon called 'code-kata'. When
I have been learning Hibernate for the past few weeks, I have gotten most
I have been working on a scheduling website for the past few weeks. I
Over the past few days I have been trying to create/run a project in
Having spent the past few weeks familiarising myself with WSS 3.0 I finally want
I have read lots these past few weeks on IE6, seeing if it was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.