public void setSSLEnabled(boolean sslEnabled) {
        this.sslEnabled = sslEnabled;
        JiveGlobals.setProperty("mail.smtp.ssl", Boolean.toString(sslEnabled));
        session = null;
    }
Sets whether the SMTP connection is configured to use SSL or not.
Typically, the port should be 465 when using SSL with SMTP.

@param sslEnabled true if ssl should be enabled, false otherwise.
xmppserver/src/main/java/org/jivesoftware/util/EmailService.java