You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Scott Eade <se...@backstagetech.com.au> on 2003/09/17 15:51:29 UTC

Configuring commons-email

The now deprecated org.apache.turbine.util.mail.Email
class does this:

    properties.put(MAIL_HOST, 
conf.getString(TurbineConstants.MAIL_SERVER_KEY,
                                             
TurbineConstants.MAIL_SERVER_DEFAULT));

This takes mail.server from TR.props and places it in
the System property named mail.host, this being the key
that javamail uses to determine the name of the mail
server.

What is the recommended way of configuring the mail.host
System property when commons-email is used in place of the
deprecated Turbine classes?

Thanks,

Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au