JAVA でメールを送る時信頼していない証明書を受け付ける

props.put(“mail.smtp.host”, smtpHost);

props.put(“mail.smtp.auth”, “true”);

props.put(“mail.smtp.port”, smtpPort);

props.put(“mail.smtp.starttls.enable”, “true”);

props.put(“mail.smtp.ssl.trust”, “*”); // 証明書検証を無視

コメントを書く


Warning: Undefined variable $user_ID in /home/r6519429/public_html/tamura.jp/wp-content/themes/tamura_thema1/comments.php on line 156