Dear,

I would like to connect to xmail via SSL.
I use the CtrlClnt.jar.

What do I need to change in the following piece of code in order to make
connection via ssl?  Or do I have to make changes elsewhere?

"
public void connect(String hostname, int port, String username, String
password) throws ResultParseException, ControlConnectionException,
ServerErrorException {
        res = conn.connect(hostname, port);
        banner = res.toString();

     //Changes here????

        id = new Identity(username, password, res.getTimestamp());
        res = conn.authorize(id);
        if(!res.isOK()) {
            throw new ServerErrorException(res.toString());
        }
    }

"


Thank you in advance,
Stefan


_______________________________________________
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail

Reply via email to