title: javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 Relay access denied
body: <p>I have received Exception on While try to Send mail in java application</p>
  
  <blockquote>
    <p>javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 Relay access denied</p>
  </blockquote>
  
  <p>example configuration of what i have applied in application.</p>
  
  <pre><code>props.put("mail.smtp.host", "smtp.pepipost.com"); 
  props.put("mail.smtp.auth", "true");        
  props.put("mail.smtp.starttls.enable", "true");                
  props.put("mail.smtp.port", "516"); 
  props.put("mail.smtp.ssl.trust", "smtp.pepipost.com");
  </code></pre>