email Flashcards

(32 cards)

1
Q

What are the three major components of electronic mail?

A

1) User agents (mail readers), 2) Mail servers, 3) SMTP protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a user agent in email?

A

Software used to compose, send, and read mail (e.g., Gmail, Outlook, Yahoo Mail).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does a mail server do?

A

Stores incoming messages in user mailboxes and maintains a queue for outgoing mail.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What protocol is used for email transfer between mail servers?

A

SMTP (Simple Mail Transfer Protocol).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which TCP port does SMTP use?

A

Port 25.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the relationship between user agent, mail server, and SMTP?

A

User agents send messages to mail servers via SMTP, which then transfer mail between servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe the basic email delivery scenario using SMTP.

A

1) Alice composes a message to Bob. 2) Her UA sends it to her mail server. 3) The SMTP client connects to Bob’s mail server. 4) Message sent via TCP. 5) Message stored in Bob’s mailbox. 6) Bob’s UA retrieves it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What transport protocol does SMTP run over?

A

TCP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Give a sample SMTP interaction.

A

220 hill.com ready; HELO town.com; MAIL FROM: jack@town.com; RCPT TO: jill@hill.com; DATA; message text; ‘.’; QUIT; 221 hill.com closing connection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How is an SMTP session terminated?

A

With the QUIT command followed by a 221 response indicating the connection is closing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Is SMTP push or pull?

A

SMTP is a push protocol; the client pushes messages to the receiving server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How does SMTP differ from HTTP in message handling?

A

SMTP pushes multiple objects in one multipart message; HTTP pulls each object in its own response.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What standard defines the format of email messages?

A

RFC 822 defines text message format.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the two main parts of an email message per RFC 822?

A

Header and body, separated by a blank line.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

List common header fields in an email.

A

To:, From:, Subject:.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What character encoding is used in standard SMTP messages?

A

ASCII text only (7-bit).

17
Q

What is MIME and why was it introduced?

A

Multipurpose Internet Mail Extensions — allows transmission of multimedia (images, audio, etc.) in email.

18
Q

What RFCs define MIME?

A

RFC 2045 and RFC 2056.

19
Q

What additional headers are introduced by MIME?

A

MIME-Version, Content-Type, and Content-Transfer-Encoding.

20
Q

What does ‘Content-Type’ specify in MIME?

A

The type and subtype of the attached data (e.g., image/jpeg).

21
Q

What does ‘Content-Transfer-Encoding’ specify?

A

The encoding method used (e.g., base64).

22
Q

What is the purpose of mail access protocols?

A

They allow users to retrieve email from mail servers.

23
Q

List the main mail access protocols.

A

POP3 (Post Office Protocol), IMAP (Internet Mail Access Protocol), and HTTP-based webmail.

24
Q

Which port does POP3 use?

A

TCP port 110 (secure: 995).

25
Which port does IMAP use?
TCP port 143 (secure: 993).
26
What is the key difference between SMTP and mail access protocols?
SMTP handles sending/delivery between servers; POP3/IMAP handle retrieval by clients.
27
How does POP3 work?
Offline processing: client downloads emails (can delete or keep on server). Changes are local to the client.
28
How does IMAP work?
Online processing: client synchronizes with server, changes (like deletes) occur on server, maintaining consistency.
29
What are advantages of IMAP over POP3?
Allows multiple devices to access synchronized mailboxes and manage folders on the server.
30
What is web-based email?
Email accessed via a web browser using HTTP to connect to mail servers (e.g., Gmail, Yahoo Mail, Hotmail).
31
Why is a bridge needed in web-based email?
Because browsers use HTTP while mail servers use SMTP — a gateway translates between them.
32
Summarize SMTP vs HTTP.
SMTP: push protocol, ASCII commands, multiple objects per message. HTTP: pull protocol, each object in separate response.