I am using the same code that is in here : How can I send an email by Java application using GMail, Yahoo, or Hotmail?
for sending an email. Its calling the transport.connect(...)
and never coming out of that method call. This is happening only when I am in my company network. When I run the same program from a different network its working fine.
I tried to do run it using both wired and wireless connection, but it didn't actually make any difference.
Any reason why it is not coming out of the transport.connect
method...