piacia
piacia
4.0.0-M1 and play 2.4.2
Then I was trying to do something like this: ``` java private static SMTPConfiguration smtpConfiguration; static { final Configuration root = Configuration.root(); smtpConfiguration = new SMTPConfiguration(root.getString("smtp.host"), root.getInt("smtp.port"), root.getBoolean("smtp.ssl"), root.getBoolean("smtp.tls"), Option.apply(root.getString("smtp.user")),...
looks like it is because I am using it in models, but not controllers. Is Guice the only way if I want to use mailer in models?