Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final String host = "localhost"; // not sure what is supposed to be here
- Properties properties = new Properties();
- properties.setProperty("mail.smtp.host", host);
- Session session = getInstance(properties);
Add Comment
Please, Sign In to add comment