【发布时间】:2023-03-28 15:39:01
【问题描述】:
您好,我在批处理文件 email.bat 中使用以下 TELNET 命令。但是当我运行批处理时,我收到了消息
“220 edcmsgmra02.domain.com ESMTP 星期日,2015 年 12 月 27 日 07:00:18 -0500”
如果我手动运行每一行,则该命令正在运行。你能帮我一次性运行下面的命令吗?
TELNET edcsmtp.emea.domain.com 25
HELO emea.domain.com
mail from: admin@domain.com
rcpt to: Vijayn@domain.com
data
SUBJECT: Stock File Alert!!!!!
File is not received in the directory. Kindly place the files to process
.
QUIT
【问题讨论】:
-
你不能这样做。你可能想看看stackoverflow.com/questions/17601579/…
标签: batch-file cmd