code: public void send(String subject, String body)
    {
      try {
        MimeMessage msg = new MimeMessage(getSession());
  
        if(_from.length > 0)
          msg.addFrom(_from);
        msg.addRecipients(RecipientType.TO, _to);
        if(subject != null)
          msg.setSubject(subject);
        msg.setContent(body, "text/plain");
  
        send(msg);
      } catch (RuntimeException e) {
        throw e;
      } catch (Exception e) {
        throw new RuntimeException(e);
      }
    }
docs: Sends to a mailbox