Closed cbr-appear closed 12 years ago
I also republished the plugin. Thanks!
sendHtml
doesn't work.
Because TextMsg is empty: def sendHtml(bodyHtml: String): Unit = send("", bodyHtml)
Apache commons mail throw a exception
org.apache.commons.mail.EmailException: Invalid message supplied
at org.apache.commons.mail.HtmlEmail.setTextMsg(HtmlEmail.java:131)
thanks, I believe it's fixed now in 2.0.1 version
The line to add to Build.scala should be
"com.typesafe" %% "play-plugins-mailer" % "2.0"
(notice the double percent characters)The line to add to play.plugins should look like
1001:com.typesafe.plugin.notifiers.CommonsMailerPlugin
The
sendHtml("<html>html</html>")
function does not exist in theMailerPlugin
class.send(" ", "<html>html</html>")
can be used instead. (yes, the first argument mustn't be an empty string).