users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Mon, 24 Mar 2008 10:19:16 PST

You should post your properties.

We use a remote server, and it works fine.

From the console:

Mail Host: xxx.com

User Name: abc

Default Return Address: abc_at_xxx.com

Status: Enabled

Advanced:

Store Protocol: imap

Store Protocol Class: com.sun.mail.imap.IMAPStore

Transport Protocol: smtp

Transport Protocol Class: com.sun.mail.smtp.SMTPTransport

That's it, we only use it for outgoing mail.

Sounds like you may be using a different port than stock SMTP? (Cuz smtp's default port IS 25...)
[Message sent by forum member 'whartung' (whartung)]

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