如何通过远程登录通过某些 SMTP 服务器发送邮件?

RBA*_*RBA -4 cisco smtp

我想通过 telnet 通过 smtp 服务器“telnet smtp_Server 25”发送邮件并想发送邮件。这怎么可能..

另外,请分享一些有关思科产品的信息以及他们在产品中使用的软件类型。如果我想获得一些洞察力知识,应该去哪里..

谢谢..

小智 5

这看起来像是两个截然不同的问题...

SMTP是一个相当简单的协议(至少仅用于发送电子邮件)...一旦您在正确的端口上打开 telnet 连接,您只需要发出以下命令:

来自维基百科:(您发出的命令以“C:”为前缀,服务器响应为“S:”)

S: 220 smtp.example.com ESMTP Postfix
C: HELO relay.example.org
S: 250 Hello relay.example.org, I am glad to meet you
C: MAIL FROM:<bob@example.org>
S: 250 Ok
C: RCPT TO:<alice@example.com>
S: 250 Ok
C: RCPT TO:<theboss@example.com>
S: 250 Ok
C: DATA
S: 354 End data with <CR><LF>.<CR><LF>
C: From: "Bob Example" <bob@example.org>
C: To: Alice Example <alice@example.com>
C: Cc: theboss@example.com
C: Date: Tue, 15 Jan 2008 16:02:43 -0500
C: Subject: Test message
C:
C: Hello Alice.
C: This is a test message with 5 header fields and 4 lines in the message body.
C: Your friend,
C: Bob
C: .
S: 250 Ok: queued as 12345
C: QUIT
S: 221 Bye
Run Code Online (Sandbox Code Playgroud)

祝思科好运……你应该把它作为一个单独的问题提出来或者解释它是如何相关的。