code: public void send(String recipients, String subj, String text) {
          final String usr = JibuConfig.getProperty("mail.username");
          final String pwd = JibuConfig.getProperty("mail.password");
          Session session =
              Session.getDefaultInstance(JibuConfig.getProperties(),
                                         new javax.mail.Authenticator() {
                                             protected PasswordAuthentication getPasswordAuthentication() {
                                                 return new PasswordAuthentication(usr,pwd);
                                             }
                                         });
          try {
              Message msg = new MimeMessage(session);
              msg.addRecipients(Message.RecipientType.TO,
                                InternetAddress.parse(recipients));
              msg.setSubject(subj);
              msg.setText(text);
              Transport.send(msg);
          } catch (MessagingException e) {
              throw new RuntimeException(e);
          }
      }
docs: 通过 javax.mail 发送邮件。
  
  @param recipients 接收方邮件地址，多个邮件地址以逗号分隔。
  @param subj 邮件标题。
  @param text 邮件正文。