2.3 Flashcards
What is a user agent?
allows people to compose, edit and read mail
i.e Outlook
outgoing, incoming messages stored on server
What is a mail server?
mailbox contains incoming messages for user
message queue of outgoing mail messages
SMTP protocol between mail servers to send email messages
-client: sending mail server
-“server”:receiving mail server
uses TCP to reliably transfer email from client to server, port 25
What are the 3 phases of SMTP transfer?
handshaking
transfer of messages
closure
How does SMTP compare to HTTP?
HTTP: pull
SMTP:push
both have ASCII command/response interaction, status codes
HTTP: each object encapsulated in its own response message
SMTP: multiple objects sent in multipart message
What are the 3 mail access protocols? (used to retrieve mail from server, SMTP deliver’s mail to receiver’s server)
POP: Post Office Protocol, authorization and download of mail
IMAP: Internet Mail Access protocol, more features than pop including manipulation of stored messages
HTTP: gmail, Hotmail, Yahoo etc
What are the phases of the POP3 protocol?
authorization phase:
client commands user, pass
server either responds with okay or error depending
transaction phases: client: list message numbers retrieve message by number delete quit
Differences between POP3 and IMAP?
POP3 has download/delete mode that prevents user from re-reading messages
also has “downloads and keep” mode copies of messages on different clients
POP3 is stateless across sesions
IMAP keeps all messages in server
keeps user state across sessions(includes folders that it allows users to create)