使用telnet建立原始网络连接的语法是:
telnet {domain_name} {port_number}所以远程登录到您的SMTP服务器
telnet smtp.mydomain.com 25
并复制并粘贴以下内容
helo client.mydomain.commail from:<sender@mydomain.com>rcpt to:<to_email@mydomain.com>dataFrom: test@mydomain.comSubject: test mail from command linethis is test number 1sent from linux box.quit
注意: 不要忘记“。” 在代表消息结尾的末尾。“退出”行退出将结束会话。



