Category: java

Sending mail with java mail javax Mailer encrypted SSL or TLS 0

Sending mail with java mail javax Mailer encrypted SSL or TLS

  This is about sending mail, so we are talking about a SMTP server   The code Properties props = new Properties(); if (Integer.parseInt(port) == 465) // SSL { props.put("mail.smtp.auth", "true"); props.put("mail.smtp.socketFactory.port", port); props.put("mail.smtp.socketFactory.class",...

How to install openjdk-7-jre on Debian 6.0.6 or 6.0.7 0

How to install openjdk-7-jre on Debian 6.0.6 or 6.0.7

openjdk-7-jre will fail to install on Debian 6.0.7 (or any stable version) with the following error: E: Unable to locate package openjdk-7-jre The steps to install openjdk-7-jre are the following : Go into Administration...