title: using java how to send a mail without authentication
body: <p>I set following property to send a mail to gmail without authenticating but i am not able to send. please help me</p>
  
  <pre><code>Properties props = new Properties();
  props.put("mail.smtp.host", SMTPServer);
  //props.put("mail.smtp.ssl.enable", "true");
  props.put("mail.smtp.auth", "false");
  props.put("mail.smtp.starttls.enable", "true");
  props.put("mail.debug", "true");
  props.put("mail.smtp.port", SMTPPort);
  </code></pre>