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",...
Recent Comments