Mon 2009-05-11 13:00:57: Session 4; child 1
Mon 2009-05-11 13:00:57: Parsing message
Mon 2009-05-11 13:00:57: * From: admin@tmdbook.com
Mon 2009-05-11 13:00:57: * To: 58181500@qq.com
Mon 2009-05-11 13:00:57: * Subject: 4214123123
Mon 2009-05-11 13:00:57: * Message-ID:
Mon 2009-05-11 13:00:57: Attempting SMTP connection to [qq.com]
Mon 2009-05-11 13:00:57: Resolving MX records for [qq.com] (DNS Server: 202.101.224.69)...
Mon 2009-05-11 13:00:57: * P=010 S=000 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.125}
Mon 2009-05-11 13:00:57: * P=010 S=001 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.126} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=002 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.216} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=003 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.217} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=004 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.218} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=005 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.219} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=006 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.220} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=007 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.120} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=008 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.121} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=009 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.122} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=010 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.123} multi-homed
Mon 2009-05-11 13:00:57: * P=010 S=011 D=qq.com TTL=(506) MX=[mx0.qq.com] {119.147.10.124} multi-homed
Mon 2009-05-11 13:00:57: Attempting SMTP connection to [119.147.10.125:25]
Mon 2009-05-11 13:00:57: Waiting for socket connection...
Mon 2009-05-11 13:00:57: * Winsock Error 10061 The other host is either down or has refused to connect with you at that IP and/or on that port.
Mon 2009-05-11 13:00:57: Socket connect error
Mon 2009-05-11 13:00:57: This message is 0 minutes old; it has 60 minutes left in this queue
Mon 2009-05-11 13:00:57: SMTP session terminated (Bytes in/out: 0/0)
以上是发送出去的代码。很关键是:
Mon 2009-05-11 13:00:57: Attempting SMTP connection to [119.147.10.125:25]
Mon 2009-05-11 13:00:57: Waiting for socket connection...
Mon 2009-05-11 13:00:57: * Winsock Error 10061 The other host is either down or has refused to connect with you at that IP and/or on that port.
Mon 2009-05-11 13:00:57: Socket connect error
Mon 2009-05-11 13:00:57: This message is 0 minutes old; it has 60 minutes left in this queue
关键一条是:
Mon 2009-05-11 13:00:57: * Winsock Error 10061 The other host is either down or has refused to connect with you at that IP and/or on that port.
为什么会这样?