为什么我们需要添加类似的属性
Properties props = System.getProperties();
props.put("mail.smtp.starttls.enable", "true"); // added this line
props.put("mail.smtp.host", host);
props.put("mail.smtp.user", from);
props.put("mail.smtp.password", pass);
props.put("mail.smtp.port", "587");
Session session = Session.getDefaultInstance(props, null);
到系统属性发送邮件。为什么它应该是专门的系统属性?