That could very well be the issue. Thanks for the hint.
I'm using GlassFish v3-prelude that comes with NetBeans.
Could you let me know how can I add smtp.gmail.com to this server's certificate store (is it possible to do it through the Admin Console or something) or maybe tell me where I can find the documentation to do this?
Thanks so much for your help.
[Message sent by forum member 'alecaste' (alecaste)]
http://forums.java.net/jive/thread.jspa?messageID=346162