I don't have one handy, but you could download javamail 1.4.1 and integrate one of the J2SE samples included with that distribution.
Construct the session and properties inline rather than relying on properties (or use system properties, but be aware they will be available across the entire application server, not recommended.)
I might have time later to write something up, but certainly not this week. Lots of work still to do on NetBeans 6.5 and GF V3.
[Message sent by forum member 'peterwx' (peterwx)]
http://forums.java.net/jive/thread.jspa?messageID=296743