When I use JavaMail to send mail from a Java program I find that it works OK with Java6, but when I use Java version 7 I get error messages like:
javax.mail.MessagingException
: Could not connect to SMTP host: mail.bigpond.com, port: 25;
nested exception is:
java.net.SocketException: Permission denied: connect
I finally traced the problem to Norton Internet Security. If I turn off Emnail Protection (or more specifically the antivirus can on outgoing messages) the program will send mail using Java7.
Can anyone tell me what is the difference between Java versions?