网站地图    收藏   

主页 > 系统 > linux系统 >

使用telnet测试邮件服务器是否正常 - Linux操作系统

来源:自学PHP网    时间:2015-04-14 11:12 作者: 阅读:

[导读] 使用telnet测试邮件服务器是否正常Java代码[snp@date Flux]$ telnet anonymousrelay.chinacache.com 25 Trying 61.135.207.214... Connected to anonymousrelay.chinacache.com (61.135.207.214). Es......

使用telnet测试邮件服务器是否正常
 
Java代码
[snp@date Flux]$ telnet anonymousrelay.chinacache.com 25  
Trying 61.135.207.214...  
Connected to anonymousrelay.chinacache.com (61.135.207.214).  
Escape character is '^]'.  
220 corp.chinacache.com Microsoft ESMTP MAIL Service ready at Wed, 14 Aug 2013 14:32:39 +0800  
helo chinacache.com  
250 corp.chinacache.com Hello [58.68.140.11]  
mail from:<baozong.gao@chinacache.com>  
250 2.1.0 Sender OK  
rcpt to:<baozong.gao@chinacache.com>  
250 2.1.5 Recipient OK  
subject:anonymous relay  
500 5.3.3 Unrecognized command  
rcpt to:baozong.gao@chinacache.com  
250 2.1.5 Recipient OK  
data  
354 Start mail input; end with <CRLF>.<CRLF>  
subject:test mail  
from:baozong.gao@chinacache.com  
to:baozong.gao@chinacache.com  
hello,  
this is a test mail  
.  
250 2.6.0 <a4bf7399-60a6-49d1-9ef2-111d21fa7474@CC-EX07-CAS02.chinacache.local> Queued mail for delivery
 

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论