SMTP

在linux中完成SMTP对目标的email地址进行发邮件的操作,一切都配置成功,邮件能够发出并被收到,但是问题在于发出的massage body不显示的问题。

du@du-virtual-machine:~$ telnet smtp.qq.com 25
Trying 183.47.101.192...
Connected to smtp.qq.com.
Escape character is '^]'.
220 newxmesmtplogicsvrsza15-1.qq.com XMail Esmtp QQ Mail Server.
HELO qq.com
250-newxmesmtplogicsvrsza15-1.qq.com-30.163.159.208-81411193
250-SIZE 73400320
250 OK
AUTH LOGIN
334 ############
####################
334 ############
####################
235 Authentication successful
MAIL FROM:<1395508263@qq.com>
250 OK
RCPT TO:<1395508263@qq.com>
250 OK
DATA
354 End data with <CR><LF>.<CR><LF>.
From:"CongZhi"<1395508263@qq.com>
nihao,this is test one,the first email I send on linux  shell.I wish this could be seen!
.
250 OK: queued as.
QUIT
221 Bye.
Connection closed by foreign host.

Pasted image 20240608075456.png

问题解决:form...to...

From:"CongZhi"<1395508263@qq.com>
To:<1395508263@qq.com>
Subject: Test Email

nihao,this is test one,the first email I send on linux shell.I wish this could be seen!
.

Pasted image 20240608080032.png