# Q7(b) · Webmail to IMAP recipient

Subject: Computer Networks

Exam: TEE

Reader: https://deep-learning-study-room.vercel.app/cn/#tee/papers/paper-2024-feb-ai-reexam/q7b

Canonical: https://deep-learning-study-room.vercel.app/read/cn/tee/papers/paper-2024-feb-ai-reexam--q7b/

Exact historical variant. Current-syllabus questions solved; excluded topics and source limitations stated.

### Q7(b). Alice sends from a web-based email account; Bob accesses mail using IMAP. Explain the message’s journey and the sequence of application protocols used. [5 marks]

### Answer

|  |  |  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| **Alice browser** | → | **HTTP(S) webmail service** | → | **SMTP between mail servers** | → | **Bob mailbox** | → | **IMAP client** |

| Stage | Protocol and role | Transport / conventional ports |
| --- | --- | --- |
| Browser submits message | HTTP POST over HTTPS; application uploads/pushes the message | HTTPS:TCP443; historical HTTP:TCP80 |
| Sender mail server→recipient mail server | SMTP pushes the mail to recipient domain | TCP25 for server relay; client submission commonly587 |
| Bob retrieves/synchronizes | IMAP pulls/synchronizes mailbox state | TCP143 (IMAP) /993 with implicit TLS |

DNS may first locate the recipient domain’s MX record and mail-host IP (typicallyUDP53, withTCP53 when needed). HTTP is a request/response protocol rather than a pure push-only protocol; classify this particular POST as submission. The named IMAP/POP3 stage is historical email context; SMTP is the explicitly listed current application topic.
