SMTP/IMAP/POP协议的区别

SMTP stands for Simple Mail Transfer Protocol. It is used to transfer RFC822-style messages between different mail hosts as well as to submit new messages to a host for delivery. SMTP is in very wide use (it originated in 1982) and is defined by RFC821.

POP3 stands for Post Office Protocol version 3. POP3 is a very limited protocol for accessing a single mailbox. It is much less capable than IMAP. POP3 is very widely used and is defined by RFC1939.

IMAP stands for Internet Message Access Protocol. It is a method of accessing electronic mail messages stored on a (possibly shared) mail server. In other words, it permits a “client” email program to access remote message stores as if they were local. IMAP is defined by RFC2060.

这三种协议可以分为两类:SMTP是一类;POP3和IMAP是一类。
简单理解:SMTP用于服务器之间的相互通信或者客户端往服务器发送邮件;POP3和IMAP用于客户端从服务器拉取邮件。
POP3跟IMAP的区别:前者很古老,功能也没有后者强大。

看图吧,更直观一些:
在这里插入图片描述
比如:张三的邮件地址是 zhangsan@outlook.com ,李四的邮件地址是 lisi@163.com ;张三想给李四发邮件。
第一步:张三用他的邮件客户端把邮件推送到 outlook 的邮件服务器上,这里用的是SMPT协议;
第二步:outlook邮件服务器将张三的邮件转发到163的邮件服务器上,这里用的是SMTP协议;
第三步:李四用他的邮件客户端从163的邮件服务器上把邮件拉取下来,这里用的是POP3或者IMAP协议。

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值