Ftp客户端编程之路

来源:互联网 发布:c语言自定义函数声明 编辑:程序博客网 时间:2024/06/08 00:07

  查看自己的SMTP服务器IP

使用nslookup命令来查找一下你的SMTP服务器的域名就可以得到对应的ip地址了。举个163.com的smtp服务器smtp.163.com的例子。 smtp + 域名
C:/>nslookup
Default Server:  files.office.yh
Address:  192.168.0.11

> smtp.163.com
Server:  files.office.yh
Address:  192.168.0.11

Non-authoritative answer:
Name:    smtp.163.split.netease.com
Addresses:  202.108.5.84, 202.108.5.85, 202.108.5.81, 202.108.5.82
          202.108.5.83
Aliases:  smtp.163.com

测试:

 

原创粉丝点击