原来Jmail组件是被Mcafee防病毒软件给阻挡了
Jmail给出的错误提示如下:
The message was undeliverable. All servers failed to receive the message
.execute()
{
Trying server mail:smtp.enersys.com.cn
smtp.enersys.com.cn failed with the message: "WSAGetLastError() returned 10053, Software caused connection abort"
No socket for server. ConnectToServer()
1 of 1 servers failed
}
Mcafee Access Protection 规则如下:
Prevent mass mailing worms from sending mail
可以通过指定Exclude process来指定某个程序不受这个规则的限制!
可恨的是这个防病毒软件竟然没有给出警报,害的我查了半天资料