how to send email with play framework 1.x and amazon ses?
I'm trying to use Amazon SES to send emails from my Play Framework 1.x application. I've been following this tutorial (http://blog.knoldus.com/2013/03/27/sending-email-with-play-framework-using-amazon-ses/), but I'm stuck at the point where I need to create a Properties object. The tutorial says to use the following code:
Properties props = new Properties();
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.starttls.enable", "true");
props.put("mail.smtp.host", "email-smtp.us-east-1.amazonaws.com");
props.put("mail.smtp.port", "587");
However, when I try to do this, I get the following error:
The constructor Properties() is undefined
Does anyone know how to fix this? Or is there a better way to send emails with Play Framework 1.x and Amazon SES?