classpathx-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Classpathx-discuss] NNTP provider supports SSL?


From: Lee Yeow Leong
Subject: [Classpathx-discuss] NNTP provider supports SSL?
Date: Mon, 02 Feb 2004 00:44:41 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007

I would need some help in getting the NNTP provider to connect to a news server which requires SSL connection. I wrote the following

Properties props = new Properties();
props.put("mail.nntp.host", "<news server>:563");
props.put("mail.nntp.user", "<id>@<news server>");
Session session = Session.getDefaultInstance(props);
session.setDebug(true);
URLName url = new URLName("nntp://<news server>:563");
Store store = session.getStore(url);

I'm using JDK1.4(which presumely comes with SSL support).

Thank you.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]