Hi
Is there a good way to send emails, i have seen the following module, https://github.com/typesafehub/play-plugins/tree/master/mailer , but i am not happy with it, as it will need me read the template file and replace variables in template and then send email.
I will need a better solution which will not need me read the file via my code. Is it possible in play java 2.0.1 ?
Thanks
Abhishek jain
And what exactly do you need? Because I do not think there is any better solution then the one provided by Typesafe here.
> It will need me read the template file.What do you mean by that?
--To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/HHY468TeI9IJ.
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
mail.send(views.txt.helpers.mail.inscription().toString,views.html.helpers.mail.inscription().toString)
The typesafe mailer plugin is nothing more than a scala adapter of the apache-commons library. All code under the hood is apache-commons.
> libraryDependencies += "org.apache.commons" % "commons-email" % "1.2",
2012/7/23 MGWhy not just use the Apache Commons Email directly?
-MG,
www.trustrecs.com
On Monday, July 23, 2012 3:34:10 AM UTC-7, abhishek wrote:Hi
Is there a good way to send emails, i have seen the following module, https://github.com/typesafehub/play-plugins/tree/master/mailer , but i am not happy with it, as it will need me read the template file and replace variables in template and then send email.
I will need a better solution which will not need me read the file via my code. Is it possible in play java 2.0.1 ?
Thanks
Abhishek jain
--To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/HHY468TeI9IJ.
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-framework@googlegroups.com.
To unsubscribe from this group, send email to play-framework+unsubscribe@googlegroups.com.