File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed
core/src/main/scala/app/softnetwork/notification/spi
project/src/main/scala/app/softnetwork/sbt/build Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 11import app .softnetwork .sbt .build ._
22import com .typesafe .sbt .packager .docker ._
33
4+ app.softnetwork.sbt.build.Publication .settings
5+
46Compile / mainClass := Some (" app.softnetwork.notification.api.AllNotificationsPostgresLauncher" )
57
68dockerBaseImage := " openjdk:8"
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ ThisBuild / organization := "app.softnetwork"
3131
3232name := " notification"
3333
34- ThisBuild / version := " 0.2.3 "
34+ ThisBuild / version := " 0.2.4 "
3535
3636ThisBuild / scalaVersion := " 2.12.15"
3737
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ trait SimpleMailProvider extends MailProvider with MailSettings with StrictLoggi
3434 .setHtmlMsg(notification.richMessage.getOrElse(notification.message))
3535 .setTextMsg(notification.message)
3636 case MultiPart =>
37- val multipart = new MultiPartEmail ()
37+ val multipart = new HtmlEmail ()
3838 val attachments = notification.attachments.toList ++ {
3939 notification.attachment match {
4040 case Some (attachment) => List (attachment)
@@ -49,7 +49,10 @@ trait SimpleMailProvider extends MailProvider with MailSettings with StrictLoggi
4949 EmailAttachment .ATTACHMENT
5050 )
5151 })
52- multipart.setMsg(notification.richMessage.getOrElse(notification.message))
52+ multipart
53+ .setHtmlMsg(notification.richMessage.getOrElse(notification.message))
54+ .setTextMsg(notification.message)
55+
5356 case _ => new SimpleEmail ().setMsg(notification.message)
5457 }
5558
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ object Versions {
44
55 val genericPersistence = " 0.2.6.1"
66
7- val scheduler = " 0.2.4 "
7+ val scheduler = " 0.2.5.3 "
88
99 val server = " 0.2.8"
1010
You can’t perform that action at this time.
0 commit comments