Peter,
the hyphens in the property names are really an amazing idea to confuse users of the GlassFish admin console!
I would never have looked into the "Developer's Guide" for information on how to configure the JavaMail session... I looked into the "Administrator's Guide", and there is the section "Creating a JavaMail Session", and this section does not mention the hyphens at all, but it refers the JavaMail API documentation for a list of the additional properties.
I also opened the help in the GlassFish admin console when editing a JavaMail resource, and this also does not mention the hyphens. It is more or less a copy of the corresponding section in the "Administrator's Guide".
Regarding your remark about the examples at the bottom of the page: I think there it is correct not to use the hyphens in property names, because the examples use the JavaMail API directly, and there the property names are written with dots and not with hyphens.
Regards
Stephan
[Message sent by forum member 'smuehlst' (smuehlst)]
http://forums.java.net/jive/thread.jspa?messageID=266060