A developer's application needs to retrieve email from a mail server and leave messages on the server (accessible from multiple devices). Which protocol and port should be used?
- A.POP3 (TCP 110) - it deletes messages after download
- B.IMAP (TCP 143) - it retrieves email while keeping messages on the server, supporting multiple clients
- C.SMTP (TCP 25) - it is for sending, not receiving
- D.MAPI (TCP 135) - it only works with Exchange
Why B is correct
IMAP (Internet Message Access Protocol, RFC 3501, TCP 143) keeps messages on the server and synchronizes state across multiple clients. POP3 (TCP 110) downloads and typically deletes messages from the server. SMTP (TCP 25) is for sending mail between servers. IMAPS uses TCP 993.
Know someone studying for Network Fundamentals? Send them this one.