Back to courses
Technology beginner

How Email Works

Duration0 hours
Modules7
Get started — free →

Course outline

Module 1 Module 1: What Email Is and Why It Matters

What Email Is and Why It Matters

Introduction

Core content I

Core content II

Core content III

Summary

Further learning

Knowledge check

Q1. What is the primary purpose of email?
  • A. To store files permanently on a remote server
  • B. To send and receive messages electronically between people ✓
  • C. To browse websites on the internet
  • D. To run software applications on a computer

Why: Email, short for electronic mail, is designed to send and receive written messages between people over a network. Storing files, browsing websites, and running software are different functions.

Q2. Which part of an email address comes after the @ symbol?
  • A. The username
  • B. The password
  • C. The domain name ✓
  • D. The subject line

Why: In an email address like name@example.com, the part after the @ symbol is the domain name, which identifies the mail server or organization. The part before the @ is the username or local part.

Q3. What does the 'To' field in an email specify?
  • A. The date the email was sent
  • B. The recipient who the email is addressed to ✓
  • C. A summary of the email contents
  • D. The sender's location

Why: The 'To' field lists the primary recipient or recipients of the message. Other fields like 'Cc' and 'Bcc' are used for additional recipients, while the date and sender details are typically added automatically.

Q4. Why is email considered important for both personal and professional communication?
  • A. It is the only way to share photos online
  • B. It provides a fast, low-cost, and written record of communication that can be sent across distances ✓
  • C. It replaces the need for internet access
  • D. It guarantees that messages are always read immediately

Why: Email is fast, inexpensive, and creates a written record that can be referenced later, which makes it valuable for both personal contact and business. It does not guarantee immediate reading, nor does it replace internet access; it depends on it.

Q5. What is the 'subject line' of an email used for?
  • A. To encrypt the message contents
  • B. To give a brief summary of what the email is about ✓
  • C. To list all attachments automatically
  • D. To set the time the email will be delivered

Why: The subject line gives recipients a brief idea of the email's topic so they can prioritize and organize their inbox. It does not encrypt content, list attachments, or schedule delivery.

Module 2 Module 2: Addresses, Domains, and the Anatomy of a Message

Addresses, Domains, and the Anatomy of a Message

Introduction

Core content I

Core content II

Core content III

Summary

Further learning

Knowledge check

Q1. In the email address jane.doe@mail.example.com, which part is the domain?
  • A. jane.doe
  • B. mail.example.com ✓
  • C. jane
  • D. example.com@doe

Why: The domain is the part after the @ symbol, which here is mail.example.com. The part before the @ is the local part, identifying the mailbox.

Q2. Which header field in an email message identifies the address the message was sent to as shown to the recipient?
  • A. Received
  • B. From
  • C. To ✓
  • D. Message-ID

Why: The To header lists the primary recipients displayed to the reader. Received headers record the transit path, From shows the author, and Message-ID is a unique identifier.

Q3. What does the local part of an email address refer to?
  • A. The server that stores the mail
  • B. The domain name registrar
  • C. The mailbox name on the destination domain's mail system ✓
  • D. The country where the sender is located

Why: The local part (everything before the @) identifies the specific mailbox on the domain's mail server. It is not a location or a server name.

Q4. Which DNS record type tells sending systems which servers accept email for a domain?
  • A. A record
  • B. CNAME record
  • C. MX record ✓
  • D. TXT record

Why: MX (Mail Exchange) records list the mail servers responsible for accepting email for a domain, along with their priority values. A records map names to IP addresses but do not specify mail routing.

Q5. What is the purpose of the Subject header in an email?
  • A. It determines which server routes the message
  • B. It gives a short summary of the message content for the recipient ✓
  • C. It encrypts the message body
  • D. It stores the sender's password

Why: The Subject header provides a brief description of the message so recipients can understand its topic at a glance. It does not affect routing, encryption, or authentication.

Module 3 Module 3: How Mail Servers Send and Route Messages

How Mail Servers Send and Route Messages

Introduction

Core content I

Core content II

Core content III

Summary

Further learning

Knowledge check

Q1. Which protocol is primarily used to send email from a mail client to an outgoing mail server?
  • A. IMAP
  • B. SMTP ✓
  • C. POP3
  • D. HTTP

Why: SMTP (Simple Mail Transfer Protocol) is the standard protocol for sending email, both from a client to a server and between mail servers. IMAP and POP3 are used for retrieving mail, and HTTP is not used for this purpose in standard email delivery.

Q2. What is the purpose of a DNS MX record in email delivery?
  • A. It stores the user's password for the mail account
  • B. It identifies the mail server responsible for accepting email for a domain ✓
  • C. It encrypts messages during transit
  • D. It lists the spam filters applied to a mailbox

Why: An MX (Mail Exchange) record tells sending servers which host accepts email for a given domain. Sending servers query the MX record for the recipient's domain to know where to deliver the message.

Q3. When an email is sent to a recipient on a different domain, what does the sending mail server typically do first?
  • A. Deliver the message directly to the recipient's computer
  • B. Look up the MX record for the recipient's domain via DNS ✓
  • C. Send the message to the user's internet service provider's homepage
  • D. Store the message until the recipient logs in to their webmail

Why: The sending server performs a DNS lookup for the MX record of the recipient's domain to find the appropriate receiving mail server. It then connects to that server to deliver the message.

Q4. What does a 'relay' mail server do?
  • A. It permanently deletes spam messages
  • B. It receives a message and forwards it toward its final destination ✓
  • C. It converts emails into plain text only
  • D. It stores a user's mailbox contents for offline reading

Why: A relay server accepts a message from one server and passes it along toward its destination, often across several hops, until it reaches the recipient's mail server.

Q5. Why might an email be placed in a queue on a mail server?
  • A. Because the sender forgot to add a subject line
  • B. Because the destination server is temporarily unavailable or busy ✓
  • C. Because the message is written in a language the server cannot read
  • D. Because the recipient has an unlimited mailbox size

Why: If the next server cannot be reached or is overloaded, the sending server holds the message in a queue and retries delivery later, which is a core part of how SMTP handles reliability.

Module 4 Module 4: DNS and Finding the Right Mail Server

DNS and Finding the Right Mail Server

Introduction

Core content I

Core content II

Core content III

Summary

Further learning

Knowledge check

Q1. What type of DNS record tells a sending mail server which server is responsible for accepting email for a domain?
  • A. A record
  • B. MX record ✓
  • C. CNAME record
  • D. TXT record

Why: An MX (Mail Exchange) record specifies the mail servers responsible for accepting email on behalf of a domain. Sending servers query MX records to find where to deliver a message addressed to that domain.

Q2. When a sending server looks up MX records for a domain, what does the priority value indicate?
  • A. The amount of storage available on the mail server
  • B. The order in which mail servers should be tried, with lower numbers preferred ✓
  • C. The encryption level the server supports
  • D. How many emails per day the server can accept

Why: MX records include a numeric priority. Lower values are preferred, so the sender tries the lowest-numbered server first and falls back to higher-numbered ones if it is unavailable.

Q3. If a domain has two MX records with priorities 10 and 20, which server receives mail first under normal conditions?
  • A. The server with priority 20, because higher numbers are more reliable
  • B. The server with priority 10, because lower numbers are preferred ✓
  • C. Both servers simultaneously, splitting the load evenly
  • D. Whichever server responds first to a random query

Why: Mail is delivered to the lowest priority value first. The priority 20 server acts as a backup and is used only if the priority 10 server cannot be reached.

Q4. What does a sending server do after it looks up a domain's MX record and gets back a hostname like mail.example.com?
  • A. It sends the email directly to the domain name example.com
  • B. It must resolve mail.example.com to an IP address using an A or AAAA record before connecting ✓
  • C. It contacts the domain registrar to confirm the mail server
  • D. It uses the hostname as the recipient's email address

Why: An MX record points to a hostname, not an IP address. The sender must then look up that hostname's A (IPv4) or AAAA (IPv6) record to get the actual IP address to connect to.

Q5. What happens if a sending server finds no MX record for a recipient's domain?
  • A. The email is always rejected immediately
  • B. The sender may fall back to using the domain's A record as the mail server address ✓
  • C. The email is sent to the root DNS servers for processing
  • D. The recipient is automatically moved to a different domain

Why: Under the fallback rules in the SMTP standard, if no MX record exists, the sender may treat the domain's A record as the implicit mail exchanger. This is why a domain without MX records can still sometimes receive mail.

Module 5 Module 5: The SMTP Protocol: Sending Email Step by Step

The SMTP Protocol: Sending Email Step by Step

Introduction

Core content I

Core content II

Core content III

Summary

Further learning

Knowledge check

Q1. What is the primary purpose of the SMTP protocol?
  • A. To retrieve email messages from a mail server
  • B. To send email messages from a client to a mail server or between mail servers ✓
  • C. To translate domain names into IP addresses
  • D. To encrypt email content end to end

Why: SMTP (Simple Mail Transfer Protocol) is responsible for pushing outgoing email from the sender's client to the mail server and between mail servers until the message reaches its destination. Retrieving email is handled by protocols like POP3 or IMAP.

Q2. Which TCP port is the standard default for SMTP mail submission from clients?
  • A. 25
  • B. 80
  • C. 110
  • D. 587 ✓

Why: Port 587 is the standard port for mail submission, where authenticated clients send outgoing mail. Port 25 is used for server-to-server relay, port 80 is for HTTP, and port 110 is for POP3.

Q3. In an SMTP session, which command does the client use to identify itself at the start of the conversation?
  • A. HELLO or EHLO ✓
  • B. DATA
  • C. RCPT TO
  • D. QUIT

Why: The client begins the session by sending HELO or, preferably, EHLO, which identifies the client's domain and asks the server to list the extensions it supports. DATA starts the message body, RCPT TO specifies a recipient, and QUIT ends the session.

Q4. During an SMTP transaction, what does the MAIL FROM command specify?
  • A. The subject line of the email
  • B. The address of the message's recipient
  • C. The envelope sender address used for bounce messages ✓
  • D. The size of the attached files

Why: MAIL FROM sets the envelope sender (reverse-path), which is where delivery failure notices are returned. It is separate from the From header visible in the message itself, and recipients are specified with RCPT TO.

Q5. How does the SMTP client signal the end of the message body during the DATA phase?
  • A. By closing the TCP connection
  • B. By sending a line containing only a single period (.) ✓
  • C. By sending the QUIT command
  • D. By sending a blank line twice

Why: The message body ends when the client sends a line containing only a period. Because of this, a leading period within the body is escaped by doubling it (dot-stuffing) so it is not mistaken for the terminator.

Module 6 Module 6: Retrieving Mail with IMAP and POP3

Retrieving Mail with IMAP and POP3

Introduction

Core content I

Core content II

Core content III

Summary

Further learning

Knowledge check

Q1. Which protocol retrieves email from a mail server while keeping the messages stored on the server so they can be accessed from multiple devices?
  • A. SMTP
  • B. POP3
  • C. IMAP ✓
  • D. HTTP

Why: IMAP (Internet Message Access Protocol) keeps messages on the server and synchronizes folder state across devices, making it ideal for accessing mail from several clients.

Q2. By default, which port does POP3 use for unencrypted connections?
  • A. 25
  • B. 110 ✓
  • C. 143
  • D. 993

Why: POP3 uses TCP port 110 for plain-text connections. Port 995 is used for POP3 over SSL/TLS.

Q3. What is the default behavior of POP3 when a client downloads messages?
  • A. Messages are copied to the server and kept indefinitely
  • B. Messages are downloaded to the client and typically deleted from the server ✓
  • C. Messages are synchronized bidirectionally with all devices
  • D. Messages remain in the server's Sent folder

Why: POP3 is designed for downloading mail to a single client; by default messages are removed from the server after retrieval, though many clients offer an option to leave copies.

Q4. Which port is the standard secure IMAP port using SSL/TLS?
  • A. 110
  • B. 143
  • C. 587
  • D. 993 ✓

Why: IMAP over SSL/TLS (IMAPS) uses port 993, while plain IMAP uses port 143.

Q5. Which statement best describes a key advantage of IMAP over POP3?
  • A. IMAP cannot be used with encryption
  • B. IMAP only works with a single device
  • C. IMAP allows partial message retrieval and server-side folder organization ✓
  • D. IMAP is used to send outgoing mail to servers

Why: IMAP lets clients fetch headers or parts of messages first and manage folders on the server, while POP3 generally downloads entire messages to one device.

Module 7 Module 7: Security, Spam Filtering, and Authentication

Security, Spam Filtering, and Authentication

Introduction

Core content I

Core content II

Core content III

Summary

Further learning

Knowledge check

Q1. What is the main purpose of SPF (Sender Policy Framework) in email authentication?
  • A. To encrypt the contents of an email message
  • B. To specify which mail servers are authorized to send email on behalf of a domain
  • C. To verify that the recipient's mailbox exists
  • D. To compress attachments before sending

Why: SPF lets a domain owner publish a DNS record listing the IP addresses or servers permitted to send mail for that domain. Receiving servers check the sending server's IP against this list to help detect forged sender addresses.

Q2. Which email authentication method uses a digital signature added to the message header to verify that the content was not altered in transit?
  • A. SPF
  • B. DMARC
  • C. DKIM
  • D. PTR

Why: DKIM (DomainKeys Identified Mail) signs outgoing messages with a private key. The receiving server uses the public key published in DNS to verify the signature, confirming the message came from the claimed domain and was not modified.

Q3. What does a DMARC policy set to 'p=reject' instruct receiving mail servers to do?
  • A. Deliver the message to the spam folder
  • B. Accept the message but log a warning
  • C. Forward the message to the domain administrator
  • D. Reject messages that fail authentication checks

Why: DMARC (Domain-based Message Authentication, Reporting and Conformance) builds on SPF and DKIM. A policy of 'p=reject' tells receivers to refuse delivery of messages that fail DMARC alignment, while 'p=quarantine' sends them to spam and 'p=none' only monitors.

Q4. What is a common characteristic of phishing emails?
  • A. They are sent only in plain text format
  • B. They always contain large file attachments
  • C. They impersonate trusted senders to trick recipients into revealing sensitive information or clicking malicious links
  • D. They are sent exclusively from free webmail accounts

Why: Phishing relies on social engineering. Attackers impersonate banks, colleagues, or services to create urgency and get recipients to share credentials, payment details, or click links to malware, regardless of the email format or account type used.

Q5. How do spam filters commonly use Bayesian filtering?
  • A. By blocking all emails from unknown senders
  • B. By calculating the probability that a message is spam based on the frequency of words it contains, learned from previously classified messages
  • C. By checking whether the sender's IP address is located in a specific country
  • D. By requiring the recipient to solve a CAPTCHA for every message

Why: Bayesian filters learn from examples of spam and legitimate mail. They compute the likelihood that a message is spam from the words and patterns it contains, updating their probabilities as users mark messages as spam or not spam.

Stay in the loop on this course.

We’ll email you when new modules or related material drops. No spam.

Built with Fragment Language. Sovereign architecture — no third-party trackers.
FragRun.mfgAFImemoryFGOwnership: B-Systems.ee