fieldHost.setText(SMTPProperties.getProperty("mail.smtp.host")); fieldPort.setText(SMTPProperties.getProperty("mail.smtp.port")); fieldFrom.setText(SMTPProperties.getProperty("mail.smtp.from"));
fieldHost.setText(SMTPProperties.getProperty("mail.smtp.host")); fieldPort.setText(SMTPProperties.getProperty("mail.smtp.port")); fieldFrom.setText(SMTPProperties.getProperty("mail.smtp.from")); fieldName.setText(SMTPProperties.getProperty("mail.smtp.realname"));
   private void setProperties() {   //   mail.smtp.host=            Fill in the host name or ip address of your SMTP   //                              mail server.   //   //   mail.smtp.port=            Fill in the port to use to connect   //   //   mail.smtp.from=            This is the e-mail address from.  For example I would   //                              place kjpou@hotmail.com here as follows:   //   //                              mail.smtp.from=kjpou@hotmail.com      fieldHost.setText(SMTPProperties.getProperty("mail.smtp.host"));      fieldPort.setText(SMTPProperties.getProperty("mail.smtp.port"));      fieldFrom.setText(SMTPProperties.getProperty("mail.smtp.from"));      // file name      fieldFileName.setText(SMTPProperties.getProperty("fileName"));   }