title: Java mail going to Junk mail for distribution list group mail id
body: <p>I am trying to send mail using Java mail to distribution list(group mail id) and its a success. but thing is its recieved in junk box in MS Outlook by default. How to make it been delivered to Inbox? </p>
  
  <p>Mail from donotreply@.com should be delivered to Inbox.  </p>
  
  <pre><code>    String host = "SMARTHOST.XXXX.COM";
      Properties prop = new Properties();
      prop.load(PDFGenerator.propLoad());
      Properties properties = System.getProperties();
      properties.put("mail.smtp.host", host); // smtp.gmail.com?
      properties.put("mail.smtp.port", "25");
      Session session = Session.getDefaultInstance(properties);
      MimeMessage message = new MimeMessage(session);
      // From e-mail Id
      message.setFrom(new InternetAddress("donotreply@example.com"));
      message.addRecipients(Message.RecipientType.TO, "groupmailId@example.com");
  </code></pre>