title: store and secure password used in javamail on android
body: <p>I have to create a form in my application to request an appointment. I am using javamail to send information. I don't know how to secure my password.  Should I store a hashed password in database?</p>
  
  <pre><code>session=Session.getDefaultInstance(prop, new Authenticator(){
      protected PasswordAuthentication getPasswordAuthentication(){
      return new PasswordAuthentication("user","password");               
  }
  </code></pre>