static final String HOST =" email-smtp.eu-west-1.amazonaws.com&#34 ;; static final int PORT = 2587;
private static Properties getProperties() {
Properties props = new Properties();
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.starttls.enable","true");
props.put("mail.smtp.host", HOST);
props.put("mail.smtp.port", PORT);
}