今天和同事学习到的这个方法,学习了,记录一下:

[root@localhost ~]# ncat 127.0.0.1 25
220 TeamServer.localdomain ESMTP Postfix
EHLO l00.win
250-TeamServer.localdomain
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:<test@test.com>
250 2.1.0 Ok
rcpt to:<sevck@jdsec.com>
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
subject:<hello ,hslkdhkkslskshdfhasf>
from:<test@test.com>
to:<sevck@jdsec.com>

body is here
s


 .
 250 2.0.0 Ok: queued as CDD8C1E06A9

基于RFC 5321来进行发送邮件,之前一直没能洞真正发送邮件的原理。

参考连接:https://tools.ietf.org/html/rfc5321

相关文章:

  • 2021-09-09
  • 2022-03-06
  • 2021-11-02
  • 2021-11-29
  • 2021-11-28
  • 2021-11-28
  • 2021-09-19
猜你喜欢
  • 2021-08-21
  • 2021-11-26
  • 2021-08-09
  • 2021-12-23
  • 2021-11-28
相关资源
相似解决方案