ctrlclnt connect ssl
| Newsgroups | gmane.mail.xmail.general |
|---|---|
| Message-ID | <1303219045.19882.2.camel@stefan-desktop> |
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
[email protected]
http://xmailserver.org/mailman/listinfo/xmail