users@glassfish.java.net

Re: Setup of Glassfish Email to use remote server and Port

From: <glassfish_at_javadesktop.org>
Date: Tue, 25 Mar 2008 17:11:09 PST

In the issue you filed (https://glassfish.dev.java.net/issues/show_bug.cgi?id=4498), you show your user defined properties as dot-separated values.

GlassFish requires the first delimiter to be a hyphen (e.g. "mail-smtp-host") or the property will be ignored. See the Developer's Guide at http://docs.sun.com/app/docs/doc/819-3672/beaow?a=view under "JavaMail Session Properties".

(BTW, I noted the examples at the bottom of the page DO NOT do this, sorry about that, I made a note of it for docs to correct.)

So, if you fix your property definitions, does it work and if not, please provide more information.
[Message sent by forum member 'peterwx' (peterwx)]

http://forums.java.net/jive/thread.jspa?messageID=265839