见鬼了,客户端JavaMail-1.4偶尔出现 DEBUG SMTP: QUIT failed with 250
sboom 2009-12-03 10:28:36 查了一下smtp.jar的代码只有这里有这个输出,可是我已经设置了 mail.debug=false,而且就算是debug打开了也不应该是只有QUIT的时候才有debug输出,其他debug信息都没有输出,就算setDebugOutput设置成其他Stream也没用,它硬是要打印到我的stdout上面,不定期神经质出现,各位大侠help
public synchronized void close()
throws MessagingException
{
if (!(super.isConnected()))
return;
try {
if (this.serverSocket != null) {
sendCommand("QUIT");
if (this.quitWait) {
int resp = readServerResponse();
if ((resp != 221) && (resp != -1) && (this.debug))
this.out.println("DEBUG SMTP: QUIT failed with " + resp);
}
}
} finally {
closeConnection();
}
}